Jump to content

variables


Thralni

Recommended Posts

Yes. You can almost any word you like as a variable, except for the ones you can't. I know that the word "shop" can't be used as a variable because it's used internally by the game engine; there are a few others as well. "Day" may well be one of them; be sure to test it. If you try to use a reserved variable name, you'll get an error message.

Link to comment
Share on other sites

They should, but you might want avoid putting numbers at the beginning of variable names, because many systems, possibly including avernumscript, are confused by this.

 

I have never seen a reserved variable use error, I just discovered that my script was behaving oddly, so be careful and test thoroughly.

Link to comment
Share on other sites

Hmmmm, it seems as though i'm doing something wrong. can anybody (Thuryl, Kelandon perhaps?) look at the script(s) please? I don't wan to post them here, as though i'm afraid somebody would steal my idea which i'm so proud of. I'll email the one who wants to help the two scripts that are the problem and explain what the problem is.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...