About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Dec 03, 2008 2:11 pm   

Feature suggestion: %track
 
I see a need for a built-in function or variable %track, which returns the current location object being tracked. If the mapper window is not open (and thus not tracking), it should return a null. Alternatively, there should be some other function which indicates whether the mapper window is open. I'm trying to write a trigger which compares the description of the current room with the description in the map, but it won't work if the map isn't open or tracking.

While we're at it, I suppose it might also be useful to have a %location, which returns the name of the current location object.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Dec 03, 2008 5:36 pm   
 
Yep. There is a bunch of scripting stuff on the list to add in upcoming versions.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Tue Dec 16, 2008 9:47 pm   
 
%track and %location seem to be working pretty well. Thanks!

There is one feature that I think is missing, which I alluded to above. If the mapper window is not open, the location object does not actually get updated. This means we need some way of telling whether the mapper window is open, and thus updating the location object. Is there a way to do this?
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Dec 16, 2008 10:36 pm   
 
Yes, that is actually a bug and is on the bug list. There are still several mapper issues that check for a valid map window instead of just looking for a valid location object. Once this is fixed you won't need to know if the mapper is open or not.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Dec 17, 2008 2:22 pm   
 
Excellent! You're making good progress, thanks for the updates!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net