> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unreal-engine-plugin/features/character-actions.md).

# 角色动作

当玩家与 Convai 角色对话时，插件可以让角色做出实际反应——走向物体、跟随玩家，或执行自定义行为。本节用于设置和配置角色动作、编写 Blueprint 处理程序，以及处理参数和注意力锚定。

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>角色动作的工作原理</strong><br>了解角色动作是什么、何时会进入队列，以及 Blueprint 处理程序如何运行。</td><td><a href="/pages/ff7bceb97bf09634f482eda883836953606d574f">/pages/ff7bceb97bf09634f482eda883836953606d574f</a></td></tr><tr><td><strong>角色动作快速入门</strong><br>启用动作、添加默认处理程序、设置 Pawn 移动和 NavMesh、注册场景对象，并测试移动。</td><td><a href="/pages/e40e8b0853ec91418830a025e7b0c9acccd8d371">/pages/e40e8b0853ec91418830a025e7b0c9acccd8d371</a></td></tr><tr><td><strong>配置动作</strong><br>定义动作集，在聊天机器人组件上启用该功能，并注册环境对象和角色。</td><td><a href="/pages/9d759a9e65c274645e91b88390d8bb2c4762bd80">/pages/9d759a9e65c274645e91b88390d8bb2c4762bd80</a></td></tr><tr><td><strong>内置动作处理程序</strong><br>为默认的导航、跟随、停止和等待行为实现 Blueprint 处理程序。</td><td><a href="/pages/d1aaea82f339a27b3ce67918aa343caebba0762c">/pages/d1aaea82f339a27b3ce67918aa343caebba0762c</a></td></tr><tr><td><strong>构建自定义动作处理程序</strong><br>编写 Blueprint 事件处理程序，用于接收并完成由聊天机器人分发的动作结构体。</td><td><a href="/pages/4034933484ffa13478584311631f11ea8d503bb4">/pages/4034933484ffa13478584311631f11ea8d503bb4</a></td></tr><tr><td><strong>带参数的动作</strong><br>在动作模板上声明带类型的输入，并在 Blueprint 处理程序中读取解析后的值。</td><td><a href="/pages/e29ff52f0d30b08b7f190e5b10f7b84aa21c7ff4">/pages/e29ff52f0d30b08b7f190e5b10f7b84aa21c7ff4</a></td></tr><tr><td><strong>注意力与引用锚定</strong><br>了解聊天机器人如何在动作响应中解析对象引用和注意力目标。</td><td><a href="/pages/4708b5833bcb3c0d451ce191750fc5274326e217">/pages/4708b5833bcb3c0d451ce191750fc5274326e217</a></td></tr><tr><td><strong>动作 Blueprint 参考</strong><br>查找角色动作所使用的 Blueprint 结构体、事件、枚举和队列函数。</td><td><a href="/pages/8e18d509947b40274dca96b384f432486348198f">/pages/8e18d509947b40274dca96b384f432486348198f</a></td></tr><tr><td><strong>角色动作示例</strong><br>端到端动作示例：移动到物体、跟随角色，以及使用带参数的动作。</td><td><a href="/pages/667b43e0827e11f62e187182ca1631dcc064fb61">/pages/667b43e0827e11f62e187182ca1631dcc064fb61</a></td></tr><tr><td><strong>角色动作故障排查</strong><br>修复未触发的动作、NavMesh 和移动问题，以及未正确解析的参数。</td><td><a href="/pages/8c96d39684a8203fb0c40d8bcb7467ca8267e3c9">/pages/8c96d39684a8203fb0c40d8bcb7467ca8267e3c9</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unreal-engine-plugin/features/character-actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
