ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Suicide: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{flag | {{flag | ||
|values={{values|Boolean}} | |values={{values|Boolean}} | ||
|types={{Categ|TeamTypes}}, {{Categ|Weapon|Weapons}} | |types={{Categ|TeamTypes}}, {{Categ|Weapon|Weapons}} | ||
|ts=yes | |ts=yes | ||
Line 12: | Line 11: | ||
==In [[TeamTypes]]== | ==In [[TeamTypes]]== | ||
Suicide entry in TeamTypes pertains to response to an attack. Depending on the script action being executed, its effect differs. It can be set to yes/no. Check {{f|Aggressive|link}} for details. | {{f|Suicide}} entry in TeamTypes pertains to response to an attack. Depending on the script action being executed, its effect differs. It can be set to yes/no. Check {{f|Aggressive|link}} for details. | ||
==In [[Weapons]] ({{ra2}} and {{yr}})== | ==In [[Weapons]] ({{ra2}} and {{yr}})== |
Revision as of 20:00, 10 September 2018
Flag: | Suicide |
File(s): | rules(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Applicable to: | TeamTypes, Weapons |
In TeamTypes
Suicide entry in TeamTypes pertains to response to an attack. Depending on the script action being executed, its effect differs. It can be set to yes/no. Check Aggressive for details.
In Weapons (Red Alert 2 and Yuri's Revenge)
Causes the unit firing this weapon to die immediately instead of actually invoking the normal effects of the weapon. Additional logic is activated by also setting Explodes=yes. Used on the Demo Truck and Crazy Ivan/Terrorist IFVs. If such a weapon is fired by an AircraftType, it will cause an Internal Error (EIP 00417D05). If the weapon is fired as DeathWeapon, it does not cause problems with AircraftTypes.
Notes
- An object that is destroyed by firing a weapon with Suicide=yes will not leave any survivors (see Crewed).