SetVehicleHijackableAction ​
Inherits: EventAction < Resource
Makes a vehicle (a placed NPC with a Mount interaction) hijackable or not: a hostile vehicle that is hijackable can be boarded and taken over by the characters it is hostile to. A story can open a tank to the player after a quest step, or lock it again.
Properties ​
int | entity_unique_id | 0 |
bool | hijackable | 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 vehicle
bool hijackable = true ​
Can it be hijacked from now on
Variable descriptions ​
Entity target_entity = null ​
Reference to the vehicle
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