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
Scripting!
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#2
RE: Scripting!

You can use global variables because they work throughout maps. Try doing something like SetGlobalVarInt("LightsOn", 1). Then when maps load, check whether LightsOn is equal to 1, and if it is, turn the lights on.

In Ruins [WIP]
03-05-2013, 07:39 PM
Find


Messages In This Thread
Scripting! - by bradders2010 - 03-05-2013, 06:31 PM
RE: Scripting! - by NaxEla - 03-05-2013, 07:39 PM
RE: Scripting! - by bradders2010 - 03-06-2013, 08:23 PM
RE: Scripting! - by OriginalUsername - 03-06-2013, 08:36 PM



Users browsing this thread: 1 Guest(s)