New to scripting, need a bit of help.

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
Shroom
Posts: 98
Joined: Tue Mar 27, 2012 6:37 pm
Location: UK

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

Post 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
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

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

Post 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.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
Post Reply