Jump to content

IsMobileEMP

From ModEnc²
Revision as of 18:56, 31 October 2017 by en>PepsiCola (Created page with "This flag works in Tiberian Sun: Firestorm only, is and found only on the Mobile EM-Pulse vehicle. This activates MobileEMPulse Logic on a given unit, and is set using boolean...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This flag works in Tiberian Sun: Firestorm only, is and found only on the Mobile EM-Pulse vehicle. This activates MobileEMPulse Logic on a given unit, and is set using boolean values (yes/no, true/false). 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. This affect can be achieved on standard weapons if Dropping=yes is set on the projectile (this part is valid in RA2/YR as well).

IsMobileEMP also specifies that the weapon must be set off manually (player must give unit deploy command to activate), and must work alongside Charge logic.