Skip to content

DismountEntityAction ​

Inherits: EventAction < Resource

Gets an NPC off the mount or vehicle it rides. It lands beside the mount. Nothing happens (the action completes) to an NPC that rides nothing.

Properties ​

intentity_unique_id0

Variables ​

Entitytarget_entitynull

Methods ​

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

Property descriptions ​

int entity_unique_id = 0 ​

Unique ID of the NPC that gets off

Variable descriptions ​

Entity target_entity = null ​

Reference to the NPC

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