Register to post in forums, or Log in to your existing account
 

Post new topic  Reply to topic     Home » Forums » zMapper Discussion
slicertool
Magician


Joined: 09 Oct 2003
Posts: 459
Location: USA

PostPosted: Thu Jul 08, 2004 9:26 pm   

Querying number of rooms
 
Is there a way to query how many rooms are currently defined in an area (possibly by class) without having to dive directly into the database?

Sorry if this is one of those 'duh' moments, but I like using zmapper for layouts of areas I'm planning and don't want to accidentally toss 2500 rooms into an area accidentally because I get carried away with a large, grassy field.

Edit: removed redundancy.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jul 12, 2004 6:48 pm   
 
In a zMUD script you can use the %mapfilter function to set up a filter for the type of rooms you want to count, then look at the value of %numrooms to see how many rooms match the filter. zMapper itself doesn't have any way to count rooms, although I'll add an item to the wish list for the future to at least tell you how many rooms you have currently selected.
Reply with quote
slicertool
Magician


Joined: 09 Oct 2003
Posts: 459
Location: USA

PostPosted: Mon Jul 12, 2004 7:51 pm   
 
Thanks Zugg,

It was just getting a little frustrating counting rooms in blocks (11 across, 5 deep = 55 etc) and making sure I wasn't missing any rooms that weren't in the blocks I was checking.
Reply with quote
parrotslave
Wanderer


Joined: 01 Jul 2002
Posts: 81
Location: USA

PostPosted: Wed Jul 14, 2004 7:04 pm   
 
If you select the rooms and hit delete, it will ask you if you want to delete however many rooms you have selected. Just be sure to hit 'the no' button.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMapper Discussion 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 on Wolfpaw.net