set_closed
lima-1.0b5/lib/help/wizard/coding/objects/set_closed · 336 B
From the archive lima-1.0b5+driver.tar.gz
Download the archive « Back to the archive contents
Set_closed()
You have a door, now how do you tell the
mud that the door should be closed to
start with? First thing to do is make
sure that you inherited DOOR, then in
your objects create(), put the following
function:
set_closed(1)
A 1 in this function closes the door, a 0
and the door will be open.