Skip to content

LocalVariableChangeTrigger ​

Inherits: EventTrigger < Resource

Triggers when a specific local variable changes to any new value

Properties ​

Stringvariable_key""

Variables ​

Eventparent_eventnull

Methods ​

Stringget_display_name()
Stringget_function_description()
voidsetup()
voidcleanup()
boolis_triggered( event_data: Dictionary )

Property descriptions ​

String variable_key = "" ​

The variable key/name to watch

Variable descriptions ​

Event parent_event = null ​

Reference to the parent event

Method descriptions ​

String get_display_name() ​

Return the display name for this trigger

String get_function_description() ​

Return the function description with parameter placeholders

void setup() ​

Set up any listeners or connections needed by this trigger

void cleanup() ​

Clean up any listeners or connections

bool is_triggered( event_data: Dictionary ) ​

Check if this trigger is currently active