Lua CreateCustomWaypointMap

From ArcEmu-Wiki
Jump to: navigation, search


Creates a waypoint map. If one exists already, then it deletes the previous waypoint map and uses the one created with this function. This waypoint map will not be overridden by the :CreateWaypoint function.

Waypoint Maps

A waypoint map is needed for the unit to use waypoints. Each map is bound to the unit, so if you want to have the same waypoint on two different units, you will have to create the waypoint twice (once for each unit). For Lua purposes, the waypoint id of the created waypoint is the size of the waypoint map at the time of creation plus 1.

Personal tools