Frictional Games Forum (read-only)

Full Version: Creating A Lever Puzzle
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
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.
(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?
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
(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!!!
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.
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~
Pages: 1 2 3