Skip to content

SetPlayerCombatScriptAction ​

Inherits: PlayerEventAction < EventAction < Resource

Action to change player(s) combat script at runtime

Properties ​

intcombat_script_id0

Methods ​

Stringget_player_function_description()
boolexecute_on_players( players: Array[Player] )
Dictionarysave()
voidload_data( data: Dictionary )

Property descriptions ​

int combat_script_id = 0 ​

ID of the combat script from DatabaseBehaviors

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