state_tree_toolset.toolsets.state_tree.StateTreeTools¶
Inspect StateTree (ST) assets.
9 tool(s).
state_tree_toolset.toolsets.state_tree.StateTreeTools.get_children¶
Returns child states of a state.
Args:
state: The state to query.
Returns:
Child states.
Input schema
{
"properties": {
"state": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeEditorModule.StateTreeState",
"type": "object"
}
},
"required": [
"state"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"items": {
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeEditorModule.StateTreeState",
"type": "object"
},
"type": "array"
}
},
"required": [
"returnValue"
],
"type": "object"
}
state_tree_toolset.toolsets.state_tree.StateTreeTools.get_editor_data¶
Returns the editor data for a StateTree asset.
Args:
state_tree: The StateTree asset.
Returns:
The editor data object.
Input schema
{
"properties": {
"state_tree": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeModule.StateTree",
"type": "object"
}
},
"required": [
"state_tree"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeEditorModule.StateTreeEditorData",
"type": "object"
}
},
"required": [
"returnValue"
],
"type": "object"
}
state_tree_toolset.toolsets.state_tree.StateTreeTools.get_enter_conditions¶
Returns enter conditions on a state.
Args:
state: The state to query.
Returns:
Condition editor nodes.
Input schema
{
"properties": {
"state": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeEditorModule.StateTreeState",
"type": "object"
}
},
"required": [
"state"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"items": {
"properties": {
"executionRuntimeData": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"executionRuntimeDataObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"expressionIndent": {
"type": "integer"
},
"expressionOperand": {
"enum": [
"Copy",
"And",
"Or",
"Multiply"
],
"title": "EStateTreeExpressionOperand",
"type": "string"
},
"iD": {
"description": "ID for the node instance.",
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
"type": "string"
},
"instance": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"instanceObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"node": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
}
},
"required": [
"node",
"instance",
"instanceObject",
"executionRuntimeData",
"executionRuntimeDataObject",
"iD",
"expressionIndent",
"expressionOperand"
],
"title": "StateTreeEditorNode",
"type": "object"
},
"type": "array"
}
},
"required": [
"returnValue"
],
"type": "object"
}
state_tree_toolset.toolsets.state_tree.StateTreeTools.get_evaluators¶
Returns global evaluators.
Args:
state_tree: The StateTree asset.
Returns:
Evaluator editor nodes.
Input schema
{
"properties": {
"state_tree": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeModule.StateTree",
"type": "object"
}
},
"required": [
"state_tree"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"items": {
"properties": {
"executionRuntimeData": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"executionRuntimeDataObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"expressionIndent": {
"type": "integer"
},
"expressionOperand": {
"enum": [
"Copy",
"And",
"Or",
"Multiply"
],
"title": "EStateTreeExpressionOperand",
"type": "string"
},
"iD": {
"description": "ID for the node instance.",
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
"type": "string"
},
"instance": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"instanceObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"node": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
}
},
"required": [
"node",
"instance",
"instanceObject",
"executionRuntimeData",
"executionRuntimeDataObject",
"iD",
"expressionIndent",
"expressionOperand"
],
"title": "StateTreeEditorNode",
"type": "object"
},
"type": "array"
}
},
"required": [
"returnValue"
],
"type": "object"
}
state_tree_toolset.toolsets.state_tree.StateTreeTools.get_global_tasks¶
Returns global tasks that run across all states.
Args:
state_tree: The StateTree asset.
Returns:
Global task editor nodes.
Input schema
{
"properties": {
"state_tree": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeModule.StateTree",
"type": "object"
}
},
"required": [
"state_tree"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"items": {
"properties": {
"executionRuntimeData": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"executionRuntimeDataObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"expressionIndent": {
"type": "integer"
},
"expressionOperand": {
"enum": [
"Copy",
"And",
"Or",
"Multiply"
],
"title": "EStateTreeExpressionOperand",
"type": "string"
},
"iD": {
"description": "ID for the node instance.",
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
"type": "string"
},
"instance": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"instanceObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"node": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
}
},
"required": [
"node",
"instance",
"instanceObject",
"executionRuntimeData",
"executionRuntimeDataObject",
"iD",
"expressionIndent",
"expressionOperand"
],
"title": "StateTreeEditorNode",
"type": "object"
},
"type": "array"
}
},
"required": [
"returnValue"
],
"type": "object"
}
state_tree_toolset.toolsets.state_tree.StateTreeTools.get_node_description¶
Returns a human-readable description for a node.
Args:
state_tree: The StateTree asset.
node: The editor node to describe.
Returns:
Formatted description string.
Input schema
{
"properties": {
"node": {
"properties": {
"executionRuntimeData": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"executionRuntimeDataObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"expressionIndent": {
"type": "integer"
},
"expressionOperand": {
"enum": [
"Copy",
"And",
"Or",
"Multiply"
],
"title": "EStateTreeExpressionOperand",
"type": "string"
},
"iD": {
"description": "ID for the node instance.",
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
"type": "string"
},
"instance": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"instanceObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"node": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
}
},
"required": [
"node",
"instance",
"instanceObject",
"executionRuntimeData",
"executionRuntimeDataObject",
"iD",
"expressionIndent",
"expressionOperand"
],
"title": "StateTreeEditorNode",
"type": "object"
},
"state_tree": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeModule.StateTree",
"type": "object"
}
},
"required": [
"state_tree",
"node"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"type": "string"
}
},
"required": [
"returnValue"
],
"type": "object"
}
state_tree_toolset.toolsets.state_tree.StateTreeTools.get_root_states¶
Returns top-level states of a StateTree.
Args:
state_tree: The StateTree asset.
Returns:
Root-level states.
Input schema
{
"properties": {
"state_tree": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeModule.StateTree",
"type": "object"
}
},
"required": [
"state_tree"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"items": {
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeEditorModule.StateTreeState",
"type": "object"
},
"type": "array"
}
},
"required": [
"returnValue"
],
"type": "object"
}
state_tree_toolset.toolsets.state_tree.StateTreeTools.get_tasks¶
Returns tasks on a state.
Args:
state: The state to query.
Returns:
Task editor nodes.
Input schema
{
"properties": {
"state": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeEditorModule.StateTreeState",
"type": "object"
}
},
"required": [
"state"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"items": {
"properties": {
"executionRuntimeData": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"executionRuntimeDataObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"expressionIndent": {
"type": "integer"
},
"expressionOperand": {
"enum": [
"Copy",
"And",
"Or",
"Multiply"
],
"title": "EStateTreeExpressionOperand",
"type": "string"
},
"iD": {
"description": "ID for the node instance.",
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
"type": "string"
},
"instance": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"instanceObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"node": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
}
},
"required": [
"node",
"instance",
"instanceObject",
"executionRuntimeData",
"executionRuntimeDataObject",
"iD",
"expressionIndent",
"expressionOperand"
],
"title": "StateTreeEditorNode",
"type": "object"
},
"type": "array"
}
},
"required": [
"returnValue"
],
"type": "object"
}
state_tree_toolset.toolsets.state_tree.StateTreeTools.get_transitions¶
Returns transitions on a state.
Args:
state: The state to query.
Returns:
Transitions.
Input schema
{
"properties": {
"state": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/StateTreeEditorModule.StateTreeState",
"type": "object"
}
},
"required": [
"state"
],
"type": "object"
}
Output schema
{
"properties": {
"returnValue": {
"items": {
"properties": {
"bDelayTransition": {
"description": "Delay the triggering of the transition.",
"type": "boolean"
},
"bTransitionEnabled": {
"description": "True if the Transition is Enabled (i.e. not explicitly disabled in the asset).",
"type": "boolean"
},
"conditions": {
"description": "Expression of conditions that need to evaluate to true to allow transition to be triggered.",
"items": {
"properties": {
"executionRuntimeData": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"executionRuntimeDataObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"expressionIndent": {
"type": "integer"
},
"expressionOperand": {
"enum": [
"Copy",
"And",
"Or",
"Multiply"
],
"title": "EStateTreeExpressionOperand",
"type": "string"
},
"iD": {
"description": "ID for the node instance.",
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
"type": "string"
},
"instance": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"instanceObject": {
"description": "Represents a reference to a UObject or UClass.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.Object",
"type": "object"
},
"node": {
"description": "Polymorphic struct. Provide _structType with the UScriptStruct path (e.g. /Script/Module.StructName) to create from scratch.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
}
},
"required": [
"node",
"instance",
"instanceObject",
"executionRuntimeData",
"executionRuntimeDataObject",
"iD",
"expressionIndent",
"expressionOperand"
],
"title": "StateTreeEditorNode",
"type": "object"
},
"type": "array"
},
"delayDuration": {
"description": "Transition delay duration in seconds.",
"maximum": 25,
"minimum": 0,
"type": "number"
},
"delayRandomVariance": {
"description": "Transition delay random variance in seconds.",
"maximum": 25,
"minimum": 0,
"type": "number"
},
"delegateListener": {
"description": "Listener to the selected delegate dispatcher.",
"title": "StateTreeTransitionDelegateListener",
"type": "object"
},
"iD": {
"description": "Globally unique identifier in 8-4-4-4-12 hyphenated form, e.g. \"E05FCC13-4D37-9D7A-E238-83859F29AD74\".",
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
"type": "string"
},
"priority": {
"description": "Transition priority when multiple transitions happen at the same time.\nDuring transition handling, the transitions are visited from leaf to root.\nThe first visited transition, of highest priority, that leads to a state selection, will be activated.",
"enum": [
"None",
"Low",
"Normal",
"Medium",
"High",
"Critical"
],
"title": "EStateTreeTransitionPriority",
"type": "string"
},
"reactivateTargetState": {
"description": "The target state and all the following states will be reactivated. Their instance data will be reinstantiated and will receive EnterState.\nNote: Only enabled when target state is within the nested state (Parent or self). As this only changes behavior for nested states.",
"enum": [
"ForceChanged",
"ForceSustained",
"Default"
],
"title": "EStateTreeTransitionChangeTypeRules",
"type": "string"
},
"requiredEvent": {
"description": "Defines the event required to be present during state selection for the transition to trigger.",
"properties": {
"bConsumeEventOnSelect": {
"description": "If set to true, the event is consumed (later state selection cannot react to it) if state selection can be made.",
"type": "boolean"
},
"payloadStruct": {
"description": "Event Payload Struct.",
"properties": {
"refPath": {
"description": "The reference stored as a soft path string.",
"type": "string"
}
},
"required": [
"refPath"
],
"title": "/Script/CoreUObject.ScriptStruct",
"type": "object"
},
"tag": {
"description": "Event Tag.",
"properties": {
"tagName": {
"description": "This Tags Name",
"type": "string"
}
},
"required": [
"tagName"
],
"title": "GameplayTag",
"type": "object"
},
"temporaryEvent": {
"description": "Temporary event used as a source value in bindings.",
"properties": {
"origin": {
"description": "Optional info to describe who sent the event.",
"type": "string"
},
"payload": {
"description": "Optional payload for the event.",
"properties": {
"_structType": {
"description": "UScriptStruct path name for polymorphic type identification (e.g. /Script/Module.StructName).",
"type": "string"
}
},
"title": "FInstancedStruct",
"type": "object"
},
"tag": {
"description": "Tag describing the event",
"properties": {
"tagName": {
"description": "This Tags Name",
"type": "string"
}
},
"required": [
"tagName"
],
"title": "GameplayTag",
"type": "object"
}
},
"required": [
"tag",
"payload",
"origin"
],
"title": "StateTreeEvent",
"type": "object"
}
},
"required": [
"tag",
"payloadStruct",
"bConsumeEventOnSelect",
"temporaryEvent"
],
"title": "StateTreeEventDesc",
"type": "object"
},
"state": {
"description": "Transition target state.",
"properties": {
"fallback": {
"description": "Fallback of the transition if it fails to select the target state",
"enum": [
"None",
"NextSelectableSibling"
],
"title": "EStateTreeSelectionFallback",
"type": "string"
},
"iD": {
"description": "ID of the state linked to.",
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
"type": "string"
},
"linkType": {
"description": "Type of the transition, used at edit time to describe e.g. next state (which is calculated at compile time).",
"enum": [
"None",
"Succeeded",
"Failed",
"GotoState",
"Parent",
"NextState",
"NextSelectableState",
"NextParent",
"NextSelectableParent",
"NotSet"
],
"title": "EStateTreeTransitionType",
"type": "string"
},
"name": {
"description": "Name of the state at the time of linking, used for error reporting.",
"type": "string"
},
"stateHandle": {
"description": "Handle of the linked state.",
"properties": {
"index": {
"type": "integer"
}
},
"required": [
"index"
],
"title": "StateTreeStateHandle",
"type": "object"
}
},
"required": [
"name",
"iD",
"linkType",
"stateHandle",
"fallback"
],
"title": "StateTreeStateLink",
"type": "object"
},
"trigger": {
"description": "When to try trigger the transition.",
"enum": [
"None",
"OnStateCompleted",
"OnStateSucceeded",
"OnStateFailed",
"OnTick",
"OnEvent",
"OnDelegate",
"MAX"
],
"title": "EStateTreeTransitionTrigger",
"type": "string"
}
},
"required": [
"trigger",
"requiredEvent",
"state",
"iD",
"delegateListener",
"priority",
"bDelayTransition",
"delayDuration",
"delayRandomVariance",
"conditions",
"reactivateTargetState",
"bTransitionEnabled"
],
"title": "StateTreeTransition",
"type": "object"
},
"type": "array"
}
},
"required": [
"returnValue"
],
"type": "object"
}