Full Version : Making Corpses Disappear
xmlspawner >>Q&A >>Making Corpses Disappear
<< Prev | Next >>
Deathbringer- 08-26-2006
I want the corpse of what I kill to disappear when it dies, how would I do that?
XavierWER- 08-26-2006
either script it by adding in under
OnDeath
c.Delete
or have another xmlspawner SETONNEARBY,range,name,corpse/DELETE
ArteGordon- 08-27-2006
If you just want to have the corpses of certain spawned creatures to be deleted, you could use the XmlDeathAction attachment like this
orc/ATTACH/<xmldeathaction/action/@SETONTHIS/DELETE>
XavierWER- 08-27-2006

QUOTE (ArteGordon @ August 27, 2006 12:59 pm)
If you just want to have the corpses of certain spawned creatures to be deleted, you could use the XmlDeathAction attachment like this orc/ATTACH/<xmldeathaction/action/@SETONTHIS/DELETE>

Yea I was thinking that aswell, but I didnt think it would apply on the corpse, only the
actual mob on the time of death.
Well ofcourse the mob itself would be deleted, thus no corpse would never actually appear. doh
ArteGordon- 08-27-2006
with XmlDeathAction, SETONTHIS refers to the corpse, and SETONTRIGMOB refers to the killer.
Since it gets called through OnDeath, the mob is already dead at that point.