Graal Forums  

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

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 05-10-2001, 11:12 AM
T-Squad T-Squad is offline
Banned
T-Squad's Avatar
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
T-Squad is on a distinguished road
i need to know a client side variable (something like this.variable or server.variable) to use for a script im making, i dont want to use //#CLIENTSIDE because it makes the whole script client side, i need a client side variable, not a string...thnx
  #2  
Old 05-10-2001, 11:20 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 u just say

you just say

local.whatever

and then it wont send it into the server
it will keep it client side
__________________
Thanks,
-KJL
  #3  
Old 05-10-2001, 11:30 AM
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
local. is for client-side scripts

What exactly are you meaning with
'client-side variable' in server-side script?
When a flag is starting with client. then it
is also sent to the client, and the client
can change it too (e.g. in weapons)
All other flags are saved for the current
player, except this. flags (for the npc)
and server. flags (for the server).
  #4  
Old 05-10-2001, 11:31 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 intresting

I never knew about client.whatever
intresting
__________________
Thanks,
-KJL

Last edited by KJS; 05-10-2001 at 11:37 AM..
  #5  
Old 05-10-2001, 11:35 AM
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
Yes only makes sense with npcserver :-)
  #6  
Old 05-11-2001, 02:25 AM
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
Current player: of course only
exists when there is an event involving
a player (playertouchsme, playerleaves,
playerdies,playerchats,washit,action...)
or when using with (players[index]) or
with (getplayer(accountname))
  #7  
Old 05-11-2001, 06:42 AM
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
it wouldn't do anything then because
there is no player
  #8  
Old 05-11-2001, 08:30 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
No variables are sent to other players/servers,
only special flags (which can be used
as string variables)
showimgs are only sent to other players
for displaying, its a client-side thing
 


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 01:29 AM.


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