Skip to content

RemoveEffectFromInteractableAction ​

Inherits: EventAction < Resource

Action to remove a specific effect from an interactable object

Properties ​

intinteractable_unique_id0
inteffect_id0

Variables ​

InteractableObjecttarget_interactablenull

Methods ​

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

Property descriptions ​

int interactable_unique_id = 0 ​

ID of the interactable to remove effect from

int effect_id = 0 ​

Effect ID to remove

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