Frictional Games Forum (read-only)
[CHAOS] Creating A Lever Puzzle - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [CHAOS] Creating A Lever Puzzle (/thread-11457.html)

Pages: 1 2 3


RE: Creating A Lever Puzzle - nemesis567 - 12-13-2011

The levers should lock into the top or bottom position as you use them. They must all be in their top position for the script to work.



RE: Creating A Lever Puzzle - teddan50 - 12-13-2011

(12-13-2011, 10:45 PM)nemesis567 Wrote: The levers should lock into the top or bottom position as you use them. They must all be in their top position for the script to work.


That was what I thought...

How do I get them to lock into position?



RE: Creating A Lever Puzzle - nemesis567 - 12-14-2011

This is the script. Note that you need to change the if conditions so only the levers you want are up and the others down or neutral.(1 up, -1 down, 0 neutral)
I think you can understand the rest.

http://pastebin.com/Zqq2GtqW



RE: Creating A Lever Puzzle - teddan50 - 12-14-2011

(12-14-2011, 12:23 AM)nemesis567 Wrote: This is the script. Note that you need to change the if conditions so only the levers you want are up and the others down or neutral.(1 up, -1 down, 0 neutral)
I think you can understand the rest.

http://pastebin.com/Zqq2GtqW


It works!!!!

Thank you so much for all your help!!!



RE: Creating A Lever Puzzle - nemesis567 - 12-14-2011

No problem. If you have any problems you can't figure on your own, just post here and the rest of the community will try to help out.



RE: Creating A Lever Puzzle - JenniferOrange - 12-14-2011

This thread was pulled from the grave, I see.
nemesis your script makes sense; I'll be sure to bookmark it for later use. Thanks~