You can do it the sneaky way by having the weapon do a 'DamageDealthAtSelfPosition'.
Though it wouldn't kill it all the time.
Or.
You can use any type of OCL for FireOCL.
The OCL for the unit to commit suicide would be hard to make.
You could though, make a weapon object the has a 'LifetimeUpdate' that expires instantaneously, and a 'FireWeaponWhenDead' ModuleTag.
The 'FireWeaponWhenDead' ModuleTag should have an invisible weapon that causes damage around itself(Like a carpet bomb).
Then you can make your OCL(more likely a CreateObject one) for it.
Edited by user
14 years ago |
Reason: Not specified
Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth