HijackableEffect ​
Inherits: Effect < DatabaseResource < Resource
While it lasts, the target vehicle (an NPC with a Mount interaction) is hijackable, or not: a hostile vehicle that is hijackable can be boarded and taken over by the characters it is hostile to. A disabling shot that opens a tank for a while, a lock that holds it shut. When the effect ends the vehicle goes back to what it was. Give it a Persistent or a Temporary time strategy.
Properties ​
bool | hijackable | true |
Methods ​
void | specific_effect_logic( effect_instance: EffectInstance ) |
void | on_apply_finished( effect_instance: EffectInstance ) |
String | get_effect_description() |
String | get_editor_description() |
Property descriptions ​
bool hijackable = true ​
Is the target hijackable while the effect lasts
Method descriptions ​
void specific_effect_logic( effect_instance: EffectInstance ) ​
Changes the vehicle, keeping what it was
void on_apply_finished( effect_instance: EffectInstance ) ​
When the effect ends the vehicle is as it was
String get_effect_description() ​
The text of the effect for tooltips, with its values filled in.
String get_editor_description() ​
A short text for the effect editor that says what the effect does.