|
zannai Novice
Joined: 21 Jul 2008 Posts: 41
|
Posted: Tue Dec 23, 2008 1:55 pm
Whats the best way to keep Map room names and descriptions updated? |
HOw do you all keep your room names and descriptions up to date? If any are using code to do this, can you share? Thanks
Does walking through rooms update room name and description automatically? Probably only in map mode, and even then I'm not sure if descriptions update- at least mine seem not to update.
Thanks- |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Tue Dec 23, 2008 8:06 pm |
You are correct that no changes will ever happen to the map unless it is in mapping mode. There are options you can set on each room to 'Reload Room Name', 'Reload Room Description', and 'Reload Room Exits', but this would have to be set separately on each room you want it on. The %roomload() function can be used to set these values in scripts. If any of those options are turned on, the appropriate values will be updated the next time you enter the room while in mapping mode.
You can also force an update on the current room with the #look command or magnifying glass icon on the mapper window. Again, that will only work if in mapping mode. |
|
|
|
zannai Novice
Joined: 21 Jul 2008 Posts: 41
|
Posted: Wed Dec 24, 2008 7:00 am |
I'm in mapping mode and have intentionally changed the description in a room so it doesn't match the description coming from the mud. I've done a #look command, and checked the box on room properties, other tab to "reload room description". It does not update. Is this a bug, or am I doing something wrong here? I tried #CALL %roomload(,2) in the room script and still no update. I can create new rooms, but it seems updating existing room isn't possible.
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Wed Dec 24, 2008 2:34 pm |
I've always been able to update existing rooms. Make sure you are in edit mode and your map is not locked. :P Then again, I also use the latest Beta, in which I've been constantly changing things... but I'm pretty sure it worked in previous versions, too.
Charneus |
|
|
|
zannai Novice
Joined: 21 Jul 2008 Posts: 41
|
Posted: Wed Dec 24, 2008 5:19 pm |
Yes the test i did was in mapping mode( i assume thats what you mean by edit mode) and the descriptions do not update either with the #look, or via a #call %roomload(,2) in the room script. If I delete the room and recreate, then the description is right.
I thought about some code that would execute only when in mapping mode, that would do the #call %roomload(,2). Is anyone doing this? I really don't want to #look in each room i move to.
zannai |
|
|
|
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: Wed Dec 24, 2008 11:30 pm |
Make sure you refresh the room properties dialog when you expect it to update (it doesn't update on it's own at the moment--wishlist Zugg). For example if I change the room title to something random, then do #look, it still stays something random, until I click on another room and then click back on the room in question, at which point I can see that it's changed. Using #look doesn't seem to require the reload boxes to be checked, and in fact they don't seem to do anything useful for me (ever).
|
|
|
|
|
|