Getting room directions from GMCP

Post Reply
Jarrin
Posts: 20
Joined: Sat Nov 21, 2009 10:14 pm

Getting room directions from GMCP

Post by Jarrin »

Hello all,

I'm almost done putting my compass together and was having some difficulty with getting the available room directions to populate using GMCP information. Right now the compass works because I have it set to trigger off of the exits line, but I'd like to eliminate that in favor of using the GMCP information.

I thought about using the table that gmcp.Room.Info.exits creates to set my values, but I can't figure out how to let the script know that I've changed rooms so that it can clear the old values.

Any suggestions would be helpful.

Thanks,
Jarrin

Jarrin
Posts: 20
Joined: Sat Nov 21, 2009 10:14 pm

Re: Getting room directions from GMCP

Post by Jarrin »

I figured out how to raise an event in a script to run the update function!

Post Reply