ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
DeathWeapon: Difference between revisions
Jump to navigation
Jump to search
tested and rewrite |
|||
Line 1: | Line 1: | ||
==For [CombatDamage]== | ==For [{{TTL|CombatDamage}}]== | ||
{{Flag | {{Flag | ||
|values={{values|string|[[Weapons]]}} | |values={{values|string|[[Weapons]]}} | ||
Line 8: | Line 8: | ||
|rp=yes | |rp=yes | ||
}} | }} | ||
{{ | Specifies the default death weapon to use when a unit with {{TTL|Explodes|yes}} set is destroyed, but said unit does not have {{tt|DeathWeapon}} or {{TTL|Primary}} set. | ||
==For [[TechnoTypes]]== | |||
==For | |||
{{Flag | {{Flag | ||
|values={{values|string|[[Weapons]]}} | |values={{values|string|[[Weapons]]}} | ||
|default=none | |default=none | ||
|types={{Categ| | |types={{Categ|TechnoTypes}} | ||
|ra2=yes | |ra2=yes | ||
|yr=yes | |yr=yes | ||
|rp=yes | |rp=yes | ||
}} | }} | ||
When | |||
When a unit is destroyed, and that unit has {{TTL|Explodes|yes}} set, then a weapon will be fired at the [[cell]] previously occupied by that unit. | |||
If {{tt|DeathWeapon}} is specified on the unit then that weapon will be fired. | |||
If {{tt|DeathWeapon}} is not specified on the unit then the unit's {{TTL|Primary}} weapon will be fired instead. | |||
If neither {{tt|DeathWeapon}} nor {{TTL|Primary}} are specified on the unit then the weapon specified by [{{TTL|CombatDamage}}]{{arr|r}}{{TTL|DeathWeapon}} will be fired instead. |
Revision as of 08:54, 20 April 2008
For [[[:Template:TTL]]]
Flag: | DeathWeapon |
File(s): | rules(md).ini |
Values: | Strings: Normal text. (Limited to: Weapons) |
Default: | none |
Applicable to: | CombatDamage |
Specifies the default death weapon to use when a unit with Template:TTL set is destroyed, but said unit does not have DeathWeapon or Template:TTL set.
For TechnoTypes
Flag: | DeathWeapon |
File(s): | rules(md).ini |
Values: | Strings: Normal text. (Limited to: Weapons) |
Default: | none |
Applicable to: | TechnoTypes |
When a unit is destroyed, and that unit has Template:TTL set, then a weapon will be fired at the cell previously occupied by that unit.
If DeathWeapon is specified on the unit then that weapon will be fired. If DeathWeapon is not specified on the unit then the unit's Template:TTL weapon will be fired instead. If neither DeathWeapon nor Template:TTL are specified on the unit then the weapon specified by [[[:Template:TTL]]]→Template:TTL will be fired instead.