GetMapMarkerVisible

Revision as of 12:50, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))

Description

GetMapMarkerVisible returns 0 for an undiscovered marker, 1 for a map that's visible, and 2 for a visible marker that can be traveled to.

Syntax

[MapMarkerID].GetMapMarkerVisible

Examples

if ( markerref.GetMapMarkerVisible == 0 )

Do stuff you want to do if marker is not on map at all

if ( markerref.GetMapMarkerVisible != 0 )

Do stuff you want to do if marker is on map

if ( markerref.GetMapMarkerVisible == 1 )

Do stuff you want to do if marker is on map but player can't fast travel there yet (player was shown map location but hasn't been there yet)

if ( markerref.GetMapMarkerVisible == 2 )

Do stuff you want to do if marker is on map and can be traveled to (player has been to location or marker was enabled as being travel ready)

Notes

  • None at this time


See Also

Reference

None provided.