Thread: NPC warping
View Single Post
  #27  
Old 12-31-2004, 05:02 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
Quote:
;<-Copylevel requires the folder names example:
Quote:
You misspelled detachplayer.
I will try fixing both of those, and see if it helps.



EDIT:
PHP Code:
else if (players[i].x in |x-3,x+3|&&players[i].y in |y-3,y+3|) { 
this.w=int(random(0,1000)); 
copylevel levels/neutral-battle.nw,levels/neutral-battle#v(this.w).nw//I plan to delete the extra battle levels or have a script do it every now and then; 
canwarp
      
with(players[i]) { 
attachplayertoobj 0,id
setlevel2 neutral-battle#v(this.w).nw,30,20; 
detachplayer
   } 

timeout=1



Doesn't work still, that's the current script, it attaches you to the mold, but doesnt create or warpto the new level, nor make you warp there.
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!

Last edited by falco10291029; 12-31-2004 at 05:16 AM..
Reply With Quote