Suicide: Difference between revisions
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
==In {{ra2}}== | ==In {{ra2}}== | ||
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 {{f|Explodes|yes|link}}. Used on the Demo Truck and Crazy Ivan/Terrorist IFVs. If such a weapon is fired by an [[AircraftTypes|AircraftType]], it will cause an Internal Error | 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 {{f|Explodes|yes|link}}. Used on the Demo Truck and Crazy Ivan/Terrorist IFVs. If such a weapon is fired by an [[AircraftTypes|AircraftType]], it will cause an [[Internal_Error#00417D05|Internal Error]]. If the weapon is fired as {{f|DeathWeapon|link}}, it does not cause problems with AircraftTypes. | ||
==Notes== | ==Notes== | ||
Revision as of 08:50, 15 June 2025
|
|
|
|
|
|
| Flag: | Suicide |
| File(s): | ai(md).ini, maps |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Applicable to: | 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.
|
|
|
|
|
|
| Flag: | Suicide |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Applicable to: | Weapons |
In Tiberian Sun
In Red Alert 2
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. 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).
- Suicide uses the same warhead as any warhead in the tag section. C4Warhead.
Bugs/Side-Effects/Unexpected Limitations
If the weapon is used through OccupyWeapon or EliteOccupyWeapon, the garrisoned building will be destroyed instead, along with all infantry located inside (all buildings?).





