Skip to content

SetLocalBoolVariableAction ​

Inherits: EventAction < Resource

Action to set a local boolean variable to a specific value

Properties ​

Stringvariable_key""
boolvaluetrue

Methods ​

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

Property descriptions ​

String variable_key = "" ​

The name of the local variable.

bool value = true ​

The yes/no value 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.