RemoveEffectFromEntityAction ​
Inherits: EventAction < Resource
Action to remove an effect from a specific entity
Properties ​
int | entity_unique_id | 0 |
int | effect_id | 0 |
bool | remove_all_instances | false |
Variables ​
Entity | target_entity | null |
Methods ​
String | get_display_name() |
String | get_function_description() |
Entity | find_target_entity() |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Property descriptions ​
int entity_unique_id = 0 ​
Unique ID of the entity to remove effect from
int effect_id = 0 ​
Effect ID to remove
bool remove_all_instances = false ​
Whether to remove all instances of the effect or just the first one
Variable descriptions ​
Entity target_entity = null ​
Reference to the target entity
Method descriptions ​
String get_display_name() ​
Return the display name of this Action
String get_function_description() ​
Return a description of this action with parameter placeholders
Entity find_target_entity() ​
Find the target entity by unique ID
Dictionary save() ​
Save action state to a dictionary
void load_data( data: Dictionary ) ​
Load action state from a dictionary