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 12-29-2007, 02:40 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
You cannot access other people's client variables on your clientside.

However if there are client variables you need accessible to all on the clientside set it to player.attr[index]. You would also use the serveroption sendtoallattr which is an array of the player attribute indexes you want sent to all other players even if they're not in the level.
__________________
Reply With Quote
  #2  
Old 12-29-2007, 08:38 AM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
Quote:
Originally Posted by Inverness View Post
You cannot access other people's client variables on your clientside.

However if there are client variables you need accessible to all on the clientside set it to player.attr[index]. You would also use the serveroption sendtoallattr which is an array of the player attribute indexes you want sent to all other players even if they're not in the level.
Seriously?
Stefan really needs to add those mostly-unknown serveroptions to the wiki.
__________________
Trying to be nice now...
Reply With Quote
  #3  
Old 12-29-2007, 08:40 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Quote:
Originally Posted by bscharff View Post
Seriously?
Stefan really needs to add those mostly-unknown serveroptions to the wiki.
It's there. >.>
__________________
Deep into the Darkness peering...
Reply With Quote
  #4  
Old 12-29-2007, 08:50 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by bscharff View Post
Seriously?
Stefan really needs to add those mostly-unknown serveroptions to the wiki.
You can always update the page yourself, now that you know about it .


Quote:
Originally Posted by Angel_Light View Post
It's there. >.>
Yes, it is in the wiki. Not on the server option page though :P.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
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 10:13 PM.


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