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
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: Sun Sep 05, 2010 3:08 am   

[3.25] Script command to create a map zone?
 
Is there a zscript command to create a zone? Looking through the documentation I only see commands and functions pertaining to existing zones. If not, I'd like to request it as a feature.

What I'm trying to do is this:

Code:
$area = %proper(%gmcp.room.info.area)
#IF (%proper(%roomzone()) != $area) {
  #IF (%zonenum($area) == -1) {
    #CALL %zonecreate($area)
    }
  #CALL %roomzone(,%zonenum($area))
  }
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Mon Sep 06, 2010 5:04 am   
 
I would think would %zonename could do what you wanted, but it seems to be broken right now.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Sep 07, 2010 5:07 pm   
 
No, %zonename does not create a new zone. There currently is no way to do this via script. I'll add that to the wish-list for the future.
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