Fork me on GitHub

Documentation for the Maniaplanet game operating system

Purpose

The map library mainly allow the users to easily manipulate the landmarks in a ShootMania map. It regroup a lot of functions to access the landmarks and their component depending on their type, tag or order.

Usage

To use this library add this line at the beginning of your script: #Include "Libs/Nadeo/ShootMania/Map.Script.txt" as CustomUI

This lib doesn't have a Load() and Unload() functions and can be used as is.

If the MapType used to validate the Map saved a version number in the map you can use the GetMapTypeVersion() function to retrieve it. The function doesn't take any parameter and returns the version as an Integer.

Then you have several function to access the landmarks in the map:

You also have functions to get direct access to the landmarks components:

Eventually you can use this functions to now how many landmarks of each type are there on the map: