Astrolabe/API CalculateMinimapIconPositions
From Esamynn's Wiki
Revision as of 15:57, 19 July 2010; DarleneSullivan (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Astrolabe » Astrolabe/API CalculateMinimapIconPositions
Performs a full update on all icons whose position is currently being managed by Astrolabe.
Astrolabe:CalculateMinimapIconPositions( reset )
Arguments
- reset
- boolean - forces the update to be started from the beginning if one is already in progress (users of Astrolabe should never need to use this)
Returns
- result
- Number - 0 if the update completed successfully, -1 if the update did not occur for some reason, 1 if the update was started, but did not complete
Please see custom essay writing services
Details
This function requires more CPU time than the incremental update done by UpdateMinimapIconPositions() because it updates each icon, with a full position calculation based on the current player position and the icon's stored world map location.

