Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   Dumb Lag, NPCServer, annoying, shoot me (https://forums.graalonline.com/forums/showthread.php?t=33824)

emortylone 08-24-2002 12:11 PM

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

user13-xo 08-24-2002 02:18 PM

Quote:

Originally posted by emortylone


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

Didn't know since before Babylon NPC server has problems :(

emortylone 08-25-2002 12:15 AM

LOL... if you would like perhaps I can help you out a bit? Right now I am REALLY going to try and get on a 2k1 or 2k2 server, but I have some free time. If you'd like me to come on and help out I would be MORE than happy to... just send me a forum PM and lemme know XP
---Shifter


All times are GMT +2. The time now is 10:24 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.