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
lllDash Offline
Member

Posts: 108
Threads: 12
Joined: Apr 2012
Reputation: 3
#4
RE: Maps change other maps

(05-15-2012, 12:40 AM)FragdaddyXXL Wrote: 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.
OH! Big Grin I get it now. thanks guys. let me guess, global.hps must be placed in the main folder of the CS, right?
05-17-2012, 03:11 PM
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)