Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsTrainingEnvironme-
Description
This callback should be overridden by the Trainer and resets the episode for the given agent.
| Name | ResetAgentEpisode |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsTrainingEnvironment.h |
| Include Path | #include "LearningAgentsTrainingEnvironment.h" |
UFUNCTION (BlueprintNativeEvent, Category="LearningAgents", Meta=(ForceAsFunction))
void ResetAgentEpisode
(
const int32 AgentId
)
Parameters
| Name | Remarks |
|---|---|
| AgentId | The id of the agent that need resetting. |