Thread: Scripting Ideas
View Single Post
  #6  
Old 01-25-2003, 04:20 PM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
Re: Scripting Ideas

Quote:
Originally posted by Python523
syntax: with(getlevel(levelname))

used: serverside

example of usage: with(getlevel(onlinestartlocal.nw))

why this would be useful:
it could be used to get all the players, npcs, and the tileset board of another levelwithout actually warping to the level
I know you didn't want to warp, but wouldn't this be the same?

NPC Code:

setstring this.oldlvl,#L;
warpto somewhere.nw,x,y;
...
warpto #s(this.oldlvl),x,y;

__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote