Page 2 of 2

Re: New to scripting, need a bit of help.

Posted: Sat Sep 15, 2012 5:19 pm
by Shroom
Neikun wrote:I don't understand what I'm doing wrong with counters.
I have the initial value set to 2. Both buttons are connected to it with activate once.
The counter is linked to itself with decrement, and then linked to the door to open.
Why doesn't the counter activate the door after both buttons have been pressed?

The counter only links to the door

the buttons link to the counter

Re: New to scripting, need a bit of help.

Posted: Sat Sep 15, 2012 5:23 pm
by Neikun
Okay okay. So lack of breakfast has made it hard for me to read. When I connected the buttons, I was given an option between increment and decrement. Now I know what I did wrong. Thanks everyone for their help!
This also clears up my issue with my counter opening four doors at once.