Thread Tools Display Modes
Prev Previous Post   Next Post Next
11/06/21, 11:45 AM   #1
@DeadSoon
AddOn Author - Click to view addons
Join Date: Sep 2018
Posts: 22
mapIndex of the zone "Fargrave" is nil

A small bug that can potentially be easily fixed:

The mapIndex of the zone "Fargrave" is nil.

This returns nil ...
Lua Code:
  1. GetMapIndexByZoneId(1282)

1282 is the zoneId of "Fargrave". When the character is in the zone, the ID could also be retrieved via:
Lua Code:
  1. local playersZoneIndex = GetUnitZoneIndex("player")
  2. local playersZoneId = GetZoneId(playersZoneIndex)
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » mapIndex of the zone "Fargrave" is nil


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off