LockObjectAction ​
Inherits: EventAction < Resource
Action to lock or unlock an interactable object
Properties ​
int | interactable_unique_id | 0 |
bool | lock_state | true |
Variables ​
InteractableObject | target_object | null |
Methods ​
String | get_function_description() |
InteractableObject | find_target_object() |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Property descriptions ​
int interactable_unique_id = 0 ​
ID of the object to lock/unlock
bool lock_state = true ​
Whether to lock (true) or unlock (false) the object
Variable descriptions ​
InteractableObject target_object = null ​
Reference to the target object
Method descriptions ​
String get_function_description() ​
Return a description of this action with parameter placeholders
InteractableObject find_target_object() ​
Find the target object by ID
Dictionary save() ​
Save action state to a dictionary
void load_data( data: Dictionary ) ​
Load action state from a dictionary