Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-22-2004, 10:51 AM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
Question about loops, serverside, and clientside

Does going from serverside to clientside with a triggeraction stop a serverside loop if its in one?
Reply With Quote
  #2  
Old 12-22-2004, 01:19 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
No.
Reply With Quote
  #3  
Old 12-22-2004, 03:54 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
you should have posted this here http://forums.graalonline.com/forums...ad.php?t=56561
__________________

Reply With Quote
  #4  
Old 12-22-2004, 05:36 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Off topic: On Serns signature.
What's the difference from #GScript with Graal Coders?
Reply With Quote
  #5  
Old 12-22-2004, 06:10 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
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
__________________

Reply With Quote
  #6  
Old 12-22-2004, 06:29 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Ahh, Darn.
__________________
Reply With Quote
  #7  
Old 12-22-2004, 07:43 PM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
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.
Reply With Quote
  #8  
Old 12-22-2004, 07:51 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
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.
__________________
Skyld
Reply With Quote
  #9  
Old 12-22-2004, 07:56 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
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
__________________

Reply With Quote
  #10  
Old 12-22-2004, 08:51 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
I don't think he understand's how to use trigger actions again. Gman hasn't coded in a while.
__________________
Reply With Quote
  #11  
Old 12-22-2004, 11:20 PM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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