SetEntityActiveStateAction ​
Inherits: EventAction < Resource
Action to activate or deactivate an entity When deactivated: entity fades out, stops processing, pauses behavior When activated: entity fades in, resumes processing, activates behavior
Properties ​
int | entity_unique_id | 0 |
bool | set_active | true |
Variables ​
Entity | target_entity | null |
Methods ​
String | get_function_description() |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Property descriptions ​
int entity_unique_id = 0 ​
Unique ID of the entity to set active state
bool set_active = true ​
Whether to activate (true) or deactivate (false) the entity
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