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
Maps change other maps
FragdaddyXXL Offline
Member

Posts: 136
Threads: 20
Joined: Apr 2012
Reputation: 7
#3
RE: Maps change other maps

And you'll need to set up a global.hps file in your maps folder.

Here's an example of what's in mine at the moment:

////////////////////////////
// Run at the start of the game.
void OnGameStart()
{
    SetGlobalVarInt("lockdown", 0); //0: lockdown is ON  || 1: Lockdown is OFF
}

Now you can get the global variable from any .hps file in your custom story.

Dark Seclusion Here
05-15-2012, 12:40 AM
Find


Messages In This Thread
Maps change other maps - by lllDash - 05-14-2012, 01:34 AM
RE: Maps change other maps - by Putmalk - 05-14-2012, 02:23 AM
RE: Maps change other maps - by FragdaddyXXL - 05-15-2012, 12:40 AM
RE: Maps change other maps - by lllDash - 05-17-2012, 03:11 PM
RE: Maps change other maps - by Putmalk - 05-17-2012, 03:33 PM
RE: Maps change other maps - by lllDash - 05-18-2012, 05:58 PM
RE: Maps change other maps - by FragdaddyXXL - 05-18-2012, 08:34 PM
RE: Maps change other maps - by lllDash - 05-18-2012, 11:42 PM
RE: Maps change other maps - by lllDash - 05-20-2012, 12:15 AM
RE: Maps change other maps - by FragdaddyXXL - 05-20-2012, 01:58 AM



Users browsing this thread: 1 Guest(s)