The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Making cross-map puzzles
burge4150 Offline
Member

Posts: 56
Threads: 15
Joined: Feb 2014
Reputation: 0
#1
Making cross-map puzzles

For instance - the elevator in Amnesia TDD needing work done in the Machine Room first.

How would I script it so that completing a puzzle in one area opens a door in another area?

No need to script it all out for me, I can do that. Just need to know the functions I should be looking for, or how to declare a global variable across the whole game.

In the meantime, I'll dig into TDD's scripts and see if I can figure it out myself.

Ok, looks like it's either
1.)SetGlobalVarInt to 1, which can be checked from any map or
2.)Checking to see if a Quest is completed to see if the elevator works?

I guess both might work, any recommendations?

Last post from me:

I see a global.hps file in the game's maps folder, but it does not declare the variable used for the elevator ElevatorMachineRunning.

Do Global variables need to be declared anywhere or is introducing them in a map's .hps file good enough to call them back anywhere later on?
(This post was last modified: 08-05-2014, 05:08 AM by burge4150.)
08-05-2014, 05:02 AM
Find


Messages In This Thread
Making cross-map puzzles - by burge4150 - 08-05-2014, 05:02 AM
RE: Making cross-map puzzles - by Mudbill - 08-05-2014, 05:12 AM



Users browsing this thread: 2 Guest(s)