SetEntityPositionAction ​
Inherits: EventAction < Resource
Action to teleport/move an entity to a specific position Can optionally interrupt casting and stop movement
Properties ​
int | entity_unique_id | 0 |
Vector3 | target_position | Vector3.ZERO |
bool | interrupt_casting | true |
bool | stop_movement | true |
Variables ​
Entity | target_entity | null |
Methods ​
String | get_function_description() |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Property descriptions ​
int entity_unique_id = 0 ​
Unique ID of the entity to move
Vector3 target_position = Vector3.ZERO ​
Target position to move the entity to
bool interrupt_casting = true ​
Whether to interrupt casting when teleporting
bool stop_movement = true ​
Whether to stop movement state (velocity, navigation)
Variable descriptions ​
Entity target_entity = null ​
Reference to the target entity
Method descriptions ​
String get_function_description() ​
Return a description of this action with parameter placeholders
Dictionary save() ​
Save action state to a dictionary
void load_data( data: Dictionary ) ​
Load action state from a dictionary