Quote:
Originally posted by user13-xo
The ring wouldnt work since the action part is part of the weapon The action would have to be in the control npc for that to work. But having that in the control npc isnt very good since it gets very confusing later.
NPC Code:
if (actionserverside) setlevel2 onlinestartlocal.graal,30,30;
//#CLIENTSIDE
if (weaponfired) {
triggeraction playerx+1.5,playery+2,serverside,Warp Ring,0;
}
If the weapon name is Warp Ring, the ring will warp the player to onlinestartlocal with the x and y at 30. That script is a weapon and nothing needs to be placed in the Control-NPC.
|
x.X You REALLY don't know the NPC server too well do you?
here is the coding
NPC Code:
triggeraction 0,0,serverside,[weapon name],params;
0,0 makes it read from the server side, vs. doing a REGULAR triggeraction. If you put in a weapon name, and that weapon has if (actionserverside) in it, it will work! I know what I'm talking about x.X
---Shifter