Skip to content

currentzone

Extends the zone type with additional information about the current zone.

Inheritance

This type inherits members from zone.

classDiagram
  zone <|-- currentzone
  direction RL
  class zone {
  }
  link zone "../datatype-zone/"
  class currentzone {
  }

Members

This type inherits members from zone.

Type Member Description
bool Dungeon Same as Indoor.
int ID the ID of the zone.
bool Indoor True if this is an Indoor zone.
float MaxClip Maximum clip plane allowed in zone.
float MinClip Minimum clip plane allowed in zone.
string Name Full zone name.
bool NoBind True if binding isn't allowed in this zone outside specified bindable areas.
bool Outdoor True if this is an outdoor zone.
string ShortName Short zone name
int Type Zone type:0=Indoor Dungeon 1=Outdoor 2=Outdoor City 3=Dungeon City 4=Indoor City 5=Outdoor Dungeon
int ZoneType Same as Type
string To String Same as Name

Usage

Example

| echo if the current zone is indoors:
/echo ${Zone.Indoor}
-- echo if the current zone is indoors:
print(mq.TLO.Zone.Indoor())