Jump to content

VehicleThief.KillPilots

From ModEnc²
Revision as of 22:11, 31 March 2025 by MarkJFox (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: VehicleThief.KillPilots
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: InfantryTypes

This flag is part of Ares. Do not use it without Ares installed.



The number of pilots the vehicle thief kills when entering a unit. These pilots will have no chance to escape the unit when it is destroyed. Use -1 to kill all pilots. In Tiberian Sun the hijacker will prevent any crew from escaping a destroyed vehicle. In Tiberian Sun the vehicle thief was not allowed to hijack units that had NonVehicle=yes set. Ares does not use NonVehicle, because it affects many other features as well, which might be undesirable. Instead, you will have to use the new dedicated flag VehicleThief.Allowed to change whether a unit can be hijacked.