View Single Post
10/03/21, 12:25 PM   #3
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 185
Ah thanks a lot !
I'm not familiar the parent / child concept , I will study it

The second example works without exceptions, apparently the number of WorldMapContainers & tiles are the same so we can do that to get the total number in the map:

Lua Code:
  1. local numHorizontalTiles, numVerticalTiles = GetMapNumTiles()
  2. local numWorldMapContainers = numHorizontalTiles * numVerticalTiles
  Reply With Quote