 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: 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. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Dec 03, 2008 5:36 pm |
Yep. There is a bunch of scripting stuff on the list to add in upcoming versions.
|
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: 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? |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Wed Dec 17, 2008 2:22 pm |
Excellent! You're making good progress, thanks for the updates!
|
|
|
 |
|
|