Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-12-2005, 09:21 PM
raiden0899 raiden0899 is offline
Registered User
raiden0899's Avatar
Join Date: Oct 2004
Posts: 192
raiden0899 is on a distinguished road
Question Clientside/Serverside in Classes

Is it possible to use clientside and serverside in classes? If it is, how do I use triggeraction to call one of the serverside events?
Reply With Quote
  #2  
Old 07-12-2005, 11:11 PM
Bartjuh1992 Bartjuh1992 is offline
Banned
Bartjuh1992's Avatar
Join Date: Nov 2004
Location: Netherlands
Posts: 79
Bartjuh1992 is on a distinguished road
Send a message via ICQ to Bartjuh1992 Send a message via AIM to Bartjuh1992 Send a message via MSN to Bartjuh1992 Send a message via Yahoo to Bartjuh1992
yust use //#CLIENTSIDE

else use nothing
so dont do it with a triggeraction
Reply With Quote
  #3  
Old 07-12-2005, 11:25 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 Bartjuh1992
yust use //#CLIENTSIDE

else use nothing
so dont do it with a triggeraction
You did not answer his questions.

Yes, both serverside and clientside are fine in classes.

To triggeraction to the serverside of an NPC, use an actionname starting with "server" (I think that's right, anyway - confirmation or correction, anyone?) and in this case, trigger onto the NPC's position. You might need to give the NPC a shape to trigger onto (use setshape on the serverside of your NPC), though.
__________________
Skyld

Last edited by Skyld; 07-12-2005 at 11:38 PM..
Reply With Quote
  #4  
Old 07-13-2005, 12:50 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Would be easier if functions could go clientside <-> serverside.
__________________
Reply With Quote
  #5  
Old 07-13-2005, 10:35 PM
ChibiChibiLuc ChibiChibiLuc is offline
Cookie Monster. :3
Join Date: Jan 2005
Location: Nova Scotia, Canada
Posts: 111
ChibiChibiLuc is on a distinguished road
Send a message via AIM to ChibiChibiLuc Send a message via MSN to ChibiChibiLuc
I'd like that, but I dunno if it's possible to implement. O-o

And remember: If you change the clientside script in a class, it won't take effect unless you update the level.
Reply With Quote
Reply


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 02:09 AM.


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