![]() |
Help With NPC!
How can I make it where when the player dies it warps that person somewhere....I've tried
if (playerdied) { setlevel2 blah.graal,30,30; } and if (playerdies) { setlevel2 blah.graal,30,30; } I've made sure I had the lvl name right and all. How can I get this to work? Do I have the right one or what? Also does any one know if showimg with the index of 202 is private like so no one else can see? |
if (playerdies) {
setlevel2 blah.graal,x,y; } if that doesnt werk then i dunno whats wrong but i do know thats right :) |
dang u must be a suckii scripter
|
Quote:
|
the question is who am i talking about and dont worry its not you;) ;)
|
its about matt plug
|
:D Goodie
|
The correct thing to use if a player dies is:
NPC Code: |
I think that can't work because u respawn somewhere else ;)
|
ya it does depend on the way the server is set and ummm Shard_IceFire read above i though we alerady figured that out
|
YOU CANT WARP WHEN YOU ARE DEAD OR IN DEAD MODE!
|
What about when player has 0 hearts it warps? How would I do that?
if (playerhearts>=0) { setlevel2 blah.graal,30,30; } |
Just make sure that the level the player get's warped to is a sparring zone, those reset your respawn point.
|
Since you can't warp when you're dead, can't you try this?
if (playerdies) {timeout=3;} if (timeout) {setlevel2 blah.graal,30,30;} |
Quote:
NPC Code: dats a little better cuz u dont need the > im not saying it'll werk but it makes it more right if that sounds right |
All times are GMT +2. The time now is 02:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.