Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Question about loops, serverside, and clientside (https://forums.graalonline.com/forums/showthread.php?t=56562)

Gman4pwnu 12-22-2004 10:51 AM

Question about loops, serverside, and clientside
 
Does going from serverside to clientside with a triggeraction stop a serverside loop if its in one?

Loriel 12-22-2004 01:19 PM

No.

ZeroTrack 12-22-2004 03:54 PM

you should have posted this here http://forums.graalonline.com/forums...ad.php?t=56561

xAndrewx 12-22-2004 05:36 PM

Off topic: On Serns signature.
What's the difference from #GScript with Graal Coders?

ZeroTrack 12-22-2004 06:10 PM

Quote:

Originally Posted by xAndrewx
Off topic: On Serns signature.
What's the difference from #GScript with Graal Coders?

Cause #gscript doesnt exist anymore really mainly cause noone else can join Rick forgot the secret code haha

xAndrewx 12-22-2004 06:29 PM

Ahh, Darn.

Gman4pwnu 12-22-2004 07:43 PM

I tried doing a triggeraction in a serverside loop to clientside and the information it gave was that of the first stop in the loop.

Skyld 12-22-2004 07:51 PM

Quote:

Originally Posted by ZeroTrack
Cause #gscript doesnt exist anymore really mainly cause noone else can join Rick forgot the secret code haha

The (#gscript) guild members are the #gscript IRC channel regulars.

ZeroTrack 12-22-2004 07:56 PM

PHP Code:

if(actionserverside){
 
sendtorc triggered server;
 
triggeraction 0,0,clientside,SernTest,;
}
//#CLIENTSIDE
if(weaponfired||actionclientside){
 
setplayerprop #c,triggered client;
 
sleep 1;
 
triggeraction 0,0,serverside,SernTest,;


works fine for me x_x

xAndrewx 12-22-2004 08:51 PM

I don't think he understand's how to use trigger actions again. Gman hasn't coded in a while.

Gman4pwnu 12-22-2004 11:20 PM

I know how to use triggeractions, I tried to triggeraction to clientside inside a serverside loop and it stopped the serverside loop. It was supposed to send data from a db_npc to clientside 1 at a time, but it stopped at the first name.


All times are GMT +2. The time now is 04:25 AM.

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