I know it's a bit of a novice question, I apologize for being a noob
It would be cool if the zombie had a random chance of either just dying or turning into a skeleton, but beggars can't be choosers.
Code: Select all
if(GetObjProperty(corpse, "npctemplate") == "zombie")
CreateNPCFromTemplate("skeleton", corpse.x, corpse.y, corpse.z, 0, corpse.realm);
endif