Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Global variables and Local Map variables.
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#4
RE: Global variables and Local Map variables.

(04-28-2012, 09:00 PM)Apjjm Wrote: The scope with which the variables can be accessed is equivalent. However, Global variables (in terms of the script) are not restored when a save & load occurs. "SetLocalVar" functions let the values associated with the variables be preserved when saves occur, and as such you should really be using those with the exception of a few very particular circumstances.

Edit: Ninja'd.
That's really counter-intuitive. Confused


Noob scripting tutorial: From Noob to Pro

04-28-2012, 09:06 PM
Find


Messages In This Thread
RE: Global variables and Local Map variables. - by Cranky Old Man - 04-28-2012, 09:06 PM



Users browsing this thread: 1 Guest(s)