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
Can the game memorize variables, forever?
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: Can the game memorize variables, forever?

If I am not mistaken, global variables are once assigned accessible at ANY time after it is declared, because it is saved. You could always script a small map with like, two notes or something to test your theory. Something like:

Player picks up note_01.
note_01 is being read    -> global_var_01 = 123

if global_var_01 = 123 then
   note_02 has text
else
   note_02 has no text
end if

In this pseudocode, you can create this, then for your testing purposes, just save and exit between reading the notes Big Grin

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 01-15-2014, 02:44 PM by Romulator.)
01-15-2014, 02:43 PM
Find


Messages In This Thread
RE: Can the game memorize variables, forever? - by Romulator - 01-15-2014, 02:43 PM



Users browsing this thread: 1 Guest(s)