Astrolabe/API GetCurrentPlayerPosition

From Esamynn's Wiki

Jump to: navigation, search

Astrolabe ยป Astrolabe/API GetCurrentPlayerPosition

Returns a World Map Position for the specified player.

C, Z, x, y = Astrolabe:GetCurrentPlayerPosition()

Arguments

Returns

C, Z, x, y
World Map Point - the current position of the player

Details

This function returns nil for all arguments if it was unable to find a valid position for the player.

This function is also used by Astrolabe internally when it is updating Minimap icons. Thus whether or not it will change the world map zoom in order to search for a valid position is governed by Astrolabe's visible world map monitoring system.

Personal tools