Graal Forums  

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

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-28-2001, 04:14 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool humm stefan you should add this...

you should add

//#ENDCLIENTSIDE

so meaning like you can do something like

//#CLIENTSIDE
if(playerenters){
//#ENDCLIENTSIDE
this.blah = 3
//#CLIENTSIDE
enabledefmovement;
}


well I have a better example (using setlevel2)..

see you cant use setlevel2 clientside (it wont work unless your on an rc account)....

and I need a way to make it work... that is why I thought of this command...

if anyone knows anyother ways of doing it please tell me
__________________
Thanks,
-KJL
  #2  
Old 08-28-2001, 09:14 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Hmmm this //#CLIENTSIDE line is
for separating the two script parts,
one is sent to the client, while the other
part is executed on the server-side.
For calling server-side parts use triggeraction
  #3  
Old 08-28-2001, 10:13 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by Stefan
Hmmm this //#CLIENTSIDE line is
for separating the two script parts,
one is sent to the client, while the other
part is executed on the server-side.
For calling server-side parts use triggeraction
yea thanks... I figured that out yesterday with the setlevel2 thing...
__________________
Thanks,
-KJL
  #4  
Old 08-28-2001, 10:34 PM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Will creating functions and putting certain functions in the clientside portion and some not work?
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
  #5  
Old 08-28-2001, 10:41 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
nope I dont think you can interact with functions that are clientside and serverside...

as I see stefan saying it when you say //#CLIENTSIDE

anything above it is like its own npc and anything below it is like a different npc...
__________________
Thanks,
-KJL
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 04:07 PM.


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