SetZoneLayer
From Spheriki
Change the map layer of a zone.
Contents |
Usage
- zone number, non-negative. Index of the zone to change the layer of.
- layer number, non-negative. Index of the map layer to put the zone on.
Examples
To put the fifth zone (zone index 4) on the eighth layer (layer index 7):
SetZoneLayer(4, 7);
That's it!
Notes
- The behaviour of this function outside of the map engine is undefined.
-
zoneis valid between 0 and GetNumZones() - 1 inclusive.
-
layeris valid between 0 and GetNumLayers() - 1 inclusive.
See also
- GetNumZones()
- GetZoneHeight()
- GetZoneWidth()
- GetZoneX()
- GetZoneY()