Ok, I've spent a long time trying to figure this out. I know this has been covered before, but I still need help with this. I'm trying to have two doors in one room. I have one door which leads to the outside of the house, and another door which leads to a bathroom. The door to the outside has the default door control colors (navy, green and yellow). I made the control colors for the bathroom door: red, cyan, and brown. I wasn't sure whether to declare the change in the initialization of the door or in the door instance, so I tried both. When I put it in the door instance, like this:
(instance bathDoor of Door
...
doorCtrl ctlRED
roomCtrl ctlCYAN
doorBlock ctlBROWN
)
the game freezes (showing the hand icon) when I enter the room from the outside. When I put it in the door initialization, like this:
(bathDoor:init()
...
doorCtrl(ctlRed)
roomCtrl(ctlCYAN)
doorBlock(ctlBROWN)
)
then I get trapped in the navy control area of the door to the outside when I enter the room.
What am I doing wrong? Thanks in advance.