Skip to content

GrantEffectToEntityAction ​

Inherits: EventAction < Resource

Action to grant an effect to a specific entity

Properties ​

intentity_unique_id0
inteffect_id0

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 grant effect to

int effect_id = 0 ​

Effect ID to grant

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