[DGD] Adding a door to a room

Arjen arjenvanefferen at hotmail.com
Fri Feb 26 16:23:19 CET 2010


All,

 

I have a question regarding the use of (i think) room events/messages?

 

I stumbled upon a problem when adding a door object to a room. The drivers
keeps throwing "Bad argument 1 to kfun call_other".

I could narrow it down to the function call to
m_openable::set_open_state(state). In the Create function of the door
object, this method is called. It looks like it fails on
m_messages::simple_action call, because the environment of the door is not
yet initialized.

 

Can somebody confirm this? If so, than i'm finally going to understand DGD a
bit more :-)

 

But the real question i have is about the messages that are send back and
forth. What does the call to m_messages::simple_action actually do? Is that
call also responsible for calling the function door::do_on_open() ? I'm
getting a bit lost in the concept of events / room messages and stuff. Can
somebody point me into the right direction? Is there documentation about
these parts of DGD that I missed?

 

Thanks all!!

 

/Arjen

 




More information about the DGD mailing list