Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsActions
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include | #include "LearningAgentsActions.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsActions.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AdvancedDisplay=1))
static FLearningAgentsActionSchemaElement SpecifyBoolAction
(
ULearningAgentsActionSchema * Schema,
const float PriorProbability,
const FName Tag
)
Remarks
Specifies a new bool action. This represents an action which is either true or false. The newly created action schema element.
Parameters
| Name | Description |
|---|---|
| Schema | The Action Schema |
| PriorProbability | The prior probability of this action being true. |
| Tag | The tag of this new action. Used during action object validation and debugging. |