Navigation
API > API/Plugins > API/Plugins/ToolsetRegistry > API/Plugins/ToolsetRegistry/UAgentSkillToolset
Description
Creates a new AgentSkill. This should ONLY be called after getting explicit direction or permission from the user.
| Name | CreateSkill |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Public/ToolsetRegistry/AgentSkill.h |
| Include Path | #include "ToolsetRegistry/AgentSkill.h" |
| Source | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Private/ToolsetRegistry/AgentSkill.cpp |
UFUNCTION (Meta=(AICallable), Category="Agent Skill")
static FString CreateSkill
(
const FString & FolderPath,
const FString & AssetName,
const FString & Description,
const FAgentSkillDetails & Details
)
The path for the created Skill class. Empty if unsuccessful.
Parameters
| Name | Remarks |
|---|---|
| FolderPath | The folder in which to create the skill. i.e. /Game/Skills/. |
| AssetName | The name of the skill to create i.e. MySkill. |
| Description | The brief description of the skill. |
| Details | Detailed information about how to use the skill. |