Skip to content

RemoveAllEffectsFromEntityAction ​

Inherits: EventAction < Resource

Action to remove all effects from a specific entity Clears all buffs, debuffs, and status effects

Properties ​

intentity_unique_id0
boolremove_beneficialtrue
boolremove_harmfultrue

Variables ​

Entitytarget_entitynull

Methods ​

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

Property descriptions ​

int entity_unique_id = 0 ​

Unique ID of the entity to clear effects from

bool remove_beneficial = true ​

Whether to remove beneficial effects (buffs)

bool remove_harmful = true ​

Whether to remove harmful effects (debuffs)

Variable descriptions ​

Entity target_entity = null ​

Reference to the target entity

Method descriptions ​

String get_function_description() ​

Return a description of this action with parameter placeholders

Dictionary save() ​

Save action state to a dictionary

void load_data( data: Dictionary ) ​

Load action state from a dictionary