View Single Post
  #15  
Old 08-05-2002, 10:04 AM
Kyle_2002 Kyle_2002 is offline
Banned
Join Date: Aug 2002
Location: Where do you think?
Posts: 160
Kyle_2002 is on a distinguished road
Quote:
Originally posted by Torankusu
example.


//#CLIENTSIDE makes a part of the script clientside.

Now, if we were to make a warp ring, or something, this is how I would do it:

The weapon's name is WRing
NPC Code:
Triggeraction - Clientside and triggering serverside actions.


if (actionWRing){
setlevel2 level,x,y; //I think...
}

//#CLIENTSIDE
if (weaponfired){
triggeraction 0,0,WRing,; //(WRing, being the weapon's name
}

I think I get it. The only thing one would need to put in the CLIENTSIDE part is external part of the NPC. (If you get what I'm saying)
Reply With Quote