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
Puzzles with lamps?
SkuLLfac3 Offline
Junior Member

Posts: 48
Threads: 11
Joined: Jun 2011
Reputation: 0
#1
Puzzles with lamps?

Hey, its me again Big Grin


I have a question. Does anyone know, whether its possible to make a puzzle with lamps? I imagine something like that: There a few lamps (we say 7 of the big blue standing torches) and a locked door. And the door will open when all lamps are on. Or there is a lever which can be activated when the lamps are on.

Is something like that possible and if yes, does anyone know the scriptfunctions? Huh

Thanks Smile

[Die Latrine der Angst] The demo of my 1st story (:
06-26-2011, 06:36 PM
Find
KikoKuruma Offline
Junior Member

Posts: 23
Threads: 5
Joined: Jun 2011
Reputation: 0
#2
RE: Puzzles with lamps?

You could use

SetEntityPlayerInteractCallback(string& asName, string& asCallback, bool abRemoveOnInteraction);

This could then call up the SetSwingDoorUnlock

But i suppose if you wanted to use multiple lights to unlock the door, you would have to script a couple different variables, that would change from 0 to 1 as the player lit the lamps, then use an and situation that would call up SetSwingDoorUnlock after all the variables are switched to 1
06-26-2011, 06:45 PM
Find
SkuLLfac3 Offline
Junior Member

Posts: 48
Threads: 11
Joined: Jun 2011
Reputation: 0
#3
RE: Puzzles with lamps?

Uhm...ok...I try..I think

[Die Latrine der Angst] The demo of my 1st story (:
06-26-2011, 07:07 PM
Find




Users browsing this thread: 1 Guest(s)