SetPlayerPositionAction ​
Inherits: PlayerEventAction < EventAction < Resource
Action to teleport/move player(s) to a specific position
Properties ​
Vector3 | target_position | Vector3.ZERO |
bool | interrupt_casting | true |
bool | stop_movement | true |
Methods ​
String | get_player_function_description() |
bool | execute_on_players( players: Array[Player] ) |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Property descriptions ​
Vector3 target_position = Vector3.ZERO ​
Target position to move the player(s) to
bool interrupt_casting = true ​
Whether to interrupt casting when teleporting
bool stop_movement = true ​
Whether to stop movement state (velocity, navigation)
Method descriptions ​
String get_player_function_description() ​
Override to provide action-specific description
bool execute_on_players( players: Array[Player] ) ​
Execute action on target players
Dictionary save() ​
Save action state to a dictionary
void load_data( data: Dictionary ) ​
Load action state from a dictionary