Ok I'm really new to scripting and I have an npc document that I swear is from 1.39 I mean it uses stuff like setgifpart etc..
Any how please bare with me as I slaughter and crucify script commands.
I'm trying to set it up so when your hp reaches 0 you get warped to a specified level. This is what I have so far. Sorry in advance its my first attempt at real script aside from clothes changer and details such as lighting effects.
This is what I have so far.
if (playerenters) {toweapons hellwarp;}
if (timeout=.5&&client.hp=0){setlevel2 underworld.nw,30,30;}
(toweapons and hellwarp are just temporary to test offline.) Obviously this doesnt work. I was talking to a friend and he said to use strtofloat(#s(client.HP))=0 although what some of those commands beats me since I cant find them on my npc document. I dont want some one to do the code. But maybe suggest looking into some alternate command. Etc..
(also if some one has an up to date npc document I'd appreceate it)