GetTileLayerEntry¶
Gets the ID of the chunk at chunkX, chunkY in tile layer layer and stores it in store.
Parameters¶
store-
The variable that will store the chunk.
layer-
The ID of the layer where the chunk comes from. 0 represents the foreground layer, while 1-8 represent background layers 1-8.
chunkX-
Position of the 128x128 chunk in the map on the horizontal axis.
chunkY-
Position of the 128x128 chunk in the map on the vertical axis.
Return Value¶
Sets store to the chunk ID.