I made a ceiling hatch in my map and I made it locked, so I want the player to solve a puzzle to make it open, but when I tested my map to see the room with the hatch, I found it swinging open, why is this? I made it locked
[/img]
(This post was last modified: 02-02-2014, 04:17 PM by Radical Batz.)
(02-02-2014, 05:09 PM)FlawlessHair Wrote: Perhaps because it can't be locked when it's upside down. I'm not sure though.
Try turning it around.
If I make it upside down then it will not open by itself but it will be not locked and the player can open it without doing the puzzle, then why is it called a ceiling hatch, so not true
(This post was last modified: 02-02-2014, 05:38 PM by Radical Batz.)
BLOCK box.
Go to entities -> Technical -> Blockbox.
A block box is just a "invicible" box.
Put that box really close underneath your hatch. { also make it a bit small \ thinner to look better if players would try jumping to it. }
SO the hatch is "hanging"on the block box.
WHen the charactor has finished th quest do this :
SetEntityActive("YOURBLOCKBOXNAMEHERE", false);
THEN if you did it correct the hatch will open.
-
Try that and let us know if it works.
(This post was last modified: 02-02-2014, 06:59 PM by DnALANGE.)
No it doesn't work with entities so what am I going to do with the hatch, i really want the player to solve a puzzle to open it, even if I turn it upside down, it's still stays open, even though it's locked. why is this happening?
(This post was last modified: 02-02-2014, 07:30 PM by Radical Batz.)