I'm trying to turn the Infested Terran into a Baneling. I've got the morph and all of that working, but when I try to Iscript in an attack on death, nothing works. Help?
An additional question: The morph uses the Muta Cocoon, and if I cancel the morph, I get a Muta. ???
Attachments:
None.
I don't think it's possible to make the a attack on death. The closest thing I can think of is the weapons.dat behaviour "Attack & Self-Destruct", and that's not very close at all.
The problem is, if you put an attack or useweapon opcode in the death animation, it brings up the rather problematic question of "What is the weapon targeting?"
None.
Iirc, it targets the point (0, 0), which, in SCBW coordinates, is the upper-left corner of the map. But I'm not sure about that.
Anyway, a simple plugin could do it by detecting when an Infested dies and lower the health of nearby enemies. I would make it for you, but I still haven't got GPTP to work under WINE; I'm sure you can find someone else to do it. ;0
None.