Full Version : delete loot
xmlspawner >>Q&A >>delete loot


<< Prev | Next >>

dikomix- 06-21-2008
Is possible delete loot on any NPC?

I need spawn Skeleton with nothing loot. (gold, bone)

Lichtblitz- 06-27-2008
You can achieve your goal with the following workaround (place it all in the same Sub!):


skeleton/ATTACH/<xmldeathaction/action/@SETONTHIS/carved/true>
SETONTHIS/TriggerMob/GETONSPAWN,1,serial
SETONCARRIED,,gold/DELETE
SETONCARRIED,,bone/DELETE


Note: The attachment is only necessary if you don't want the players to carve resources from the corpse. In GETONSPAWN,1,serial replace the 1 with the number of the subgroup you are using.

In this workaround you set your spawned creature as your triggering player and manipulate it likewise.