need some help with my ondeath
Posted: Mon Dec 12, 2011 8:57 pm
here is what i got
what i want it to do is make a effect and delete the corpse when the npc spawns. i have try differant methods and failed
Code: Select all
function onDeath( pDead )
{
var nSpawned = SpawnNPC( "boneknight", pDead.x, pDead.y, pDead.z, pDead.worldnumber );
}