Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Serverside Scripthng (https://forums.graalonline.com/forums/showthread.php?t=34898)

Torankusu 08-05-2002 10:23 AM

Quote:

Originally posted by Kyle_2002

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)

or, the parts that are clientside...

nyghtGT 08-05-2002 10:48 AM

Or, you can make one giant database NPC and just have every NPC that requires serverside actions access it:D

Kyle_2002 08-05-2002 10:53 AM

ugh.. do some more clientside and serverside examples, so I can start to learn how to do it. please!

zorakid2001 08-07-2002 12:49 AM

can some1 make an example of a database npc?

adam 08-07-2002 01:28 AM

NPC Code:

if (created)startup();

//#CLIENTSIDE


function startup(){
message hello i just started;
}



would the function run clientside or serverside?

Andor_RC14 08-08-2002 12:18 AM

Thats just like variables.

NPC Code:

if (created) {bob=speed;}
//#CLIENTSIDE
if (playerenters) {
run();
}
functionrun() {
message #v(bob);
}


adam 08-08-2002 11:19 AM

Ok I get it. Thier like 2 totally different scripts.


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

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