Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Levers, objects and states  (Read 519 times)

Zep--

  • Bay Watcher
    • View Profile
Levers, objects and states
« on: April 04, 2008, 11:58:00 am »

Say I have a hallway with 1 door at each end. I connect the first door to a lever then pull it, the door is open.

Now, with the lever in the pulled stated I attach it to the other door at the end of the hall way which is closed.

When I pull the lever again door 1 should close and door 2 should open.

It doesn't work that way tho, when you pull the lever both doors go into the closed state.

I don't know if this is a bug or not.

But I would like to see pulling the lever close door 1 and open door 2 depending on what state the lever was in when linked to the object.

Zep--

Logged

Anjey aka PM

  • Bay Watcher
    • View Profile
Re: Levers, objects and states
« Reply #1 on: April 04, 2008, 05:16:00 pm »

use 1-tile raise bridge instead of door that should be closed when you pull the lever
Logged
he greatest programming project of all took six days; on the seventh day the programmer rested. We''ve been trying to debug the *&^%$#@ thing ever since. Moral: design before you implement.