Difference between revisions of "GetMapMarkerVisible"
Jump to navigation
Jump to search
imported>Gribbleshnibit8 (updated to function template) |
imported>Pintocat |
||
Line 25: | Line 25: | ||
=='''See Also'''== | =='''See Also'''== | ||
[[ShowMap]] | |||
[[ShowAllMapMarkers]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.1)]] | [[Category:Functions (GECK 1.1)]] | ||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category:Condition Functions (GECK 1.1)]] | [[Category:Condition Functions (GECK 1.1)]] |
Latest revision as of 12:03, 24 January 2017
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
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
markerref.GetMapMarkerVisible
Example
if ( markerref.GetMapMarkerVisible == 0 ) ; Do stuff you want to do if marker is not on map at all endif
if ( markerref.GetMapMarkerVisible != 0 ) ; Do stuff you want to do if marker is on map endif
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) endif
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) endif