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

Difference between revisions of "IsMobileEMP"

From ModEnc
Jump to: navigation, search
Line 2: Line 2:
 
|name={{PAGENAME}}
 
|name={{PAGENAME}}
 
|files={{Categ|ini=rules}}
 
|files={{Categ|ini=rules}}
|types={{Categ|General}}
+
|types={{Categ|VehicleTypes}}
|values={{values|float}}
+
|values={{values|boolean}}
 
|fs=yes
 
|fs=yes
 
}}<br />
 
}}<br />

Revision as of 18:57, 31 October 2017

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, 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.