Search found 2 matches

by thebigkev
Sat May 02, 2020 3:00 pm
Forum: Mod Creation
Topic: Lever Puzzle Help
Replies: 2
Views: 1136

Re: Lever Puzzle Help

You could do it by reversing the function calls. - Connect the levers to newssequence() instead of checknews() - Change the beginning of the function to: function newssequence(caller) - Always make the lever unclickable after activating it, even if it's the wrong lever: caller.go.clickable:disable(...
by thebigkev
Sat May 02, 2020 11:02 am
Forum: Mod Creation
Topic: Lever Puzzle Help
Replies: 2
Views: 1136

Lever Puzzle Help

Hi There, I am really new to programming and modding in general and am using my first LoG2 map as a way to learn a bit about both. I am currently working on a sequence puzzle using scripts and levers, I've managed to figure out how to make it so the lever stays down and not clickable if it's pulled ...