Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsController
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsController.h |
| Include | #include "LearningAgentsController.h" |
UFUNCTION&40;BlueprintNativeEvent, Category&61;"LearningAgents"&41;
void SetActions
&40;
const TArray< int32 > & AgentIds
&41;
Remarks
During this event, you should set the actions of your agents.
Parameters
| Name | Description |
|---|---|
| AgentIds | The list of agent ids to set actions for. |
See Also
LearningAgentsActions.hfor the list of available actions.
ULearningAgentsInteractor::GetAgent to get the agent corresponding to each id.