New Premium Module: Tyrants of the Moonsea! Read More
Script Help? – Edit Placeable Object Name.
What i'm trying to do is create a lootable corpse on player death that gets deleted after 10 minutes. 1 random equipped item and maybe 10-30% GP from dead player gets placed on corpse. Corpse can then be looted by anyone, but would be great if script had an option (either by cd key, or player name) to link player to their corpse making corpse lootable only by whoever it belongs to.
I have it all working except for option to link player name to the object... anyone able to help me out?
Also, would it be possible to change the name of the corpse/object after it's creation?
Edit; The script is for "OnPlayerRespawn" not ondeath.