Skip to content

SetRabbitHoleStateAction ​

Inherits: EventAction < Resource

Action to set a rabbit hole's state (ACTIVE/DISABLED/BROKEN)

Properties ​

intinteractable_unique_id0
RabbitHoleInteraction.RabbitHoleStaterabbit_hole_stateRabbitHoleInteraction.RabbitHoleState.ACTIVE

Variables ​

InteractableObjecttarget_rabbit_holenull

Methods ​

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

Property descriptions ​

int interactable_unique_id = 0 ​

ID of the rabbit hole to modify

RabbitHoleInteraction.RabbitHoleState rabbit_hole_state = RabbitHoleInteraction.RabbitHoleState.ACTIVE ​

State to set the rabbit hole to

Variable descriptions ​

InteractableObject target_rabbit_hole = null ​

Reference to the target rabbit hole

Method descriptions ​

String get_function_description() ​

Return a description of this action with parameter placeholders

InteractableObject find_target_rabbit_hole() ​

Find the target rabbit hole by ID

Dictionary save() ​

Save action state to a dictionary

void load_data( data: Dictionary ) ​

Load action state from a dictionary