Code for If Exit is Locked....

I have created a door object that will affect an exit in a number of different ways including locking / unlocking it. And that worked just fine.

Now I've run into a problem, though, I'd like to put an If / Then on the door object that will trigger if the Exit is locked. But I can't seem to pick the Exit under Objects and there's no If Exit is Locked option. How could I best do this?

Thanks in advance!


I assume you've given the exit a name?

If you really have to use the GUI, then:


The exits all have names but those names weren't showing up. Your expression worked, though.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums