GrantEffectToInteractableAction ​
Inherits: EventAction < Resource
Action to grant an effect to a specific interactable object
Properties ​
int | interactable_unique_id | 0 |
int | effect_id | 0 |
Variables ​
InteractableObject | target_interactable | null |
Methods ​
String | get_function_description() |
InteractableObject | find_target_interactable() |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Property descriptions ​
int interactable_unique_id = 0 ​
ID of the interactable to grant effect to
int effect_id = 0 ​
Effect ID to grant
Variable descriptions ​
InteractableObject target_interactable = null ​
Reference to the target interactable
Method descriptions ​
String get_function_description() ​
Return a description of this action with parameter placeholders
InteractableObject find_target_interactable() ​
Find the target interactable by ID
Dictionary save() ​
Save action state to a dictionary
void load_data( data: Dictionary ) ​
Load action state from a dictionary