Global/Local.

Hey.


Can anyone Tell me how to Make a String Variable Local?, I've tried to and i get a Run Time Error 9.



Thanks in Advance :)

There are no local variables in Quest.

That's why the '.' naming convention is so good. You can have:
function1.armour.defense variable, in function 1, while function2.armour.defense doesn't change function1's.

In Multiplayer there are Local Variables though, It's called: scope, and Global Variables.

I Want to beable to have the player type in a name, and that name can only be seen by him/her, It works Globally but thats no good because if a player names there char, then if it's globally all the players chars will be named that.

But if it's Local then only there char is named that.

If it's multiplayer then you ARE in the wrong forum..

Anyway, try setting either a game property (game[userid]) or a normal player variable (#variable[userid]#).
It really isn't that hard to pay attention and read the various posts through-out the forum you know.

I Didn't asked to be told off...LOL, i simply asked for Help.