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.
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#9
RE: Global variables and Local Map variables.

(04-29-2012, 02:36 AM)Apjjm Wrote: The bindings are probably not cleared until ClearSavedMaps() [testing needed] is called from a different map [they shouldn't be cleared before this as the game wont know what variables will be re-used again].

SetGlobalVar vars will work in the same way but will always be loaded in any map after creation and probably aren't affected by ClearSavedMaps (Again, testing needed).

I can confirm that ClearSavedMaps does not affect global and local map variables (if they have values to them); if it did, it would cause my custom story to function undesirably. Although, i have not necessarily tested if the map variables have null values to them.

Tutorials: From Noob to Pro
(This post was last modified: 04-29-2012, 04:16 AM by Your Computer.)
04-29-2012, 04:12 AM
Website Find


Messages In This Thread
RE: Global variables and Local Map variables. - by Your Computer - 04-29-2012, 04:12 AM



Users browsing this thread: 1 Guest(s)