Mount Points

intermediate tasks

World Map Globe Edition · Common Tasks

Mount Points are user-defined markers on the map created in the Map Editor. Basically, a mount point is a special location that includes a name, a class identifier (an user-defined number) and a collection of attributes.

Mount Points are useful to add user-defined strategic locations, like airports, military units, resources and other landmarks useful for your application or game. To better describe your mount points, WPM allows you to define any number of attributes per mount point. Attributes are stored in the attrib property of each mount point (a JSONObject), so you can assign each mount point information like attrib[“Defense”] = 3, attrib[“Capacity”] = 10 or attrib[“Mineral”] = “Uranium” and so on.

Note that Mount Points are invisible during play mode since they are only placeholder for your game objects. The list of mount points is accessible through the mountPoints property of the map API.

Mount Points appear during design time (not in play mode) as a flag:

Was this page helpful?