ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

IsMobileEMP

From ModEnc
Revision as of 18:14, 31 October 2017 by PepsiCola (talk | contribs)
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: IsMobileEMP
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Applicable to: VehicleTypes



This flag works in Tiberian Sun: Firestorm only, and is used only on the Mobile EM-Pulse vehicle. This activates MobileEMPulse Logic on a given unit. Defaults to no.

If given a deploy command, any unit with IsMobileEMP=yes will automatically fire the weapon with the hardcoded name [MobileEMPulseWeapon]. The weapon will have no specified target, and as a result the Warhead will explode immediately at the units location. In addition to activating MobileEMPulse Logic, this also specifies that the hardcoded [MobileEMPulseWeapon] must be set off manually (player must give unit deploy command to activate), and must work alongside Charge logic.

Notes

If desired, you can achieve instant warhead detonation on standard weapons by adding Dropping=yes on the projectile (this part is valid in RA2/YR as well).

See also