GHI_GetCurrentZoneLevel

Pilus edited this page Aug 11, 2015 · 1 revision
Clone this wiki locally

Syntax:

GHI_GetCurrentZoneLevel()

Arguments:

GHI_GetCurrentZoneLevel has no arguments.

Returns:

lvlMin
''Number''
The lowest suggested questing level of the specified zone.
lvlMax
''Number''
The highest suggested questing level of the specified zone.

Example:

local zoneName = GetRealZoneText()

local lvlMin, lvlMax = GHI_GetCurrentZoneLevel()

print(zoneName,"Level: "..lvlMin.." - "..lvlMax)

This script prints the current zone's level range to the chat log, in a slightly different manner than the one in GHI_GetZoneLevel().