burge4150
Member
Posts: 56
Threads: 15
Joined: Feb 2014
Reputation:
0
|
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 |
|