SetRabbitHoleStateAction ​
Inherits: EventAction < Resource
Action to set a rabbit hole's state (ACTIVE/DISABLED/BROKEN)
Properties ​
int | interactable_unique_id | 0 |
RabbitHoleInteraction.RabbitHoleState | rabbit_hole_state | RabbitHoleInteraction.RabbitHoleState.ACTIVE |
Variables ​
InteractableObject | target_rabbit_hole | null |
Methods ​
String | get_function_description() |
InteractableObject | find_target_rabbit_hole() |
Dictionary | save() |
void | load_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