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

Difference between revisions of "DeathWeapon"

From ModEnc
Jump to: navigation, search
 
(Merged, dedeezireified)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
This specifies the default death weapon for those objects which have one. I have experienced errors when changing this, it is best to leave it at its default setting as I suspect the logic may be hard-coded and you cant use the units weapon since the spread is now fixed. In either case, you should ensure that this is set to an existing weapon.
+
|values={{values|string|[[Weapons]]}}
 +
|special=
 +
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
__NOTOC__
 +
==In [[CombatDamage]]==
 +
This specifies the DeathWeapon an object with {{TTL|Explodes|yes}} fires when it has no [[Primary]] set.
 +
 
 +
==On units==
 +
Specifies the weapon fired at the cell which was last occupied by the unit before it was destroyed. This requires the unit to have {{TTL|Explodes|yes}} defined. DeathWeapon here serves as an override to the statement set in [[CombatDamage]].
 +
 
 +
 
 +
==See also==
 +
* [[Explodes]]

Revision as of 18:27, 19 April 2008

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: DeathWeapon
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: Weapons)
Applicable to: InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes


In CombatDamage

This specifies the DeathWeapon an object with Template:TTL fires when it has no Primary set.

On units

Specifies the weapon fired at the cell which was last occupied by the unit before it was destroyed. This requires the unit to have Template:TTL defined. DeathWeapon here serves as an override to the statement set in CombatDamage.


See also