Skip to content

SetLocalIntVariableAction ​

Inherits: EventAction < Resource

Action to set a local integer variable to a specific value

Properties ​

Stringvariable_key""
intvalue0

Methods ​

Stringget_function_description()
Dictionarysave()
voidload_data( data: Dictionary )

Property descriptions ​

String variable_key = "" ​

The name of the local variable.

int value = 0 ​

The whole number to set.

Method descriptions ​

String get_function_description() ​

The sentence the editor shows for the action, with {placeholders} for its values.

Dictionary save() ​

The state of the action for a save.

void load_data( data: Dictionary ) ​

Restores the state of the action from a save.