Author Topic: I'm a newbie, and I am having trouble with doors.  (Read 1816 times)

0 Members and 1 Guest are viewing this topic.

Offline Scigeek2003

I'm a newbie, and I am having trouble with doors.
« on: September 11, 2003, 10:07:29 PM »
I need help connecting the levels in my game, I have stumbled upon it before, but I cannot remember how to do it.
I am trying to use the green control color, but when I go into the doorway but nothing happens. :'(


Geeky

Offline Eigen

Re:I'm a newbie, and I am having trouble with doors.
« Reply #1 on: September 11, 2003, 11:19:08 PM »
Check if your door instance is something like this:

(instance aDoor of Door
  (properties
    y 150
    x 150
    view 22
    entranceTo 10
    )
)

then check are the door control colors right. (Navy for the area where player can open the door, yellow for blocking ego to walk trough the doorway unless it's opened and dark green which takes player to the room specified in the door instance.

Then use:

(if(Said('open/door'))
(aDoor:open())
 
and walk trough the doorway. This should do the trick.



-Eigen
Artificial Intelligence Competition


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.068 seconds with 17 queries.