Quote:
Originally Posted by Skyld
When you do varname = value; in old GScript, it only works for integer/float values. Also I don't think it works with clientr.-style strings either.
varname = value; in the new engine is the default way of assigning values to variables; if this is working in your script for some string values, then you are probably mixing old and new GScript, which you shouldn't be doing.
|
Im only using GS1. I do get some problems using clientr though. But the problems randomly happen.
Here is what I mean:
In my start area, you have a class selection. Whichever class you say, its gives you your certain clientr.player_class=*.
I look in player information through RC and there it is, clientr.player_class=1
Then I do a seperate script, in this case for a quest. If you say something specific it gives you clientr.quest=1. Now I don't know why, but this occurs with the script quite a bit:
1. I say whats needed to trigger the script thus clientr.quest=1
2. I go to a door scripted to only open if (clientr.quest=1) and it works. Yet in player attributes on RC, it doesn't show clientr.quest=1, instead its just blank.
(First question: why does the door open if its not visible in there?)
3. I then relog and try the door again. It does not work as if I had the clientr set
Any ideas why it would be doing this?
P.S. If you need me to reword this please ask lol, it was hard typing it -_-