View Single Post
  #14  
Old 08-23-2002, 09:42 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
LOL, Never dis an NPC Server or the mighty Kaimetsu will open a can =P The NPC Server does not necessarily create a ton of LAG, but it can be laggy if your scripts suck x.X If you get to know it you'll love it XP. if you put:
NPC Code:

//#CLIENTSIDE
if (whatever)
{ triggeraction 0,0,serverwarp,;}


it will trigger the Control-NPC Serverside is the only thing that goes to the CURRENT NPC. If you put serverwarp, it goes to the control-npc. putting 0,0 as the x,y will make it go serverside btw.

NPC Code:

if (actionserverside)
{ setlevel2 onlinestartlocal.graal,30,30;
}
//#CLIENTSIDE
if (playerchats && strequals(#c,warp))
{ triggeraction 0,0,serverside,Ring1,;}


will make it warp the player to OSL @ 30,30 if the NPC Name is Ring1. Ta-da XP You're welcome, all part of the job =P
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice