Skip to content

KillEntityAction ​

Inherits: EventAction < Resource

Action to instantly kill a specific entity

Properties ​

intentity_unique_id0

Variables ​

Entitytarget_entitynull

Methods ​

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

Property descriptions ​

int entity_unique_id = 0 ​

Unique ID of the entity to kill

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