GetMapMarkerVisible

From the Fallout3 GECK Wiki
Revision as of 14:07, 24 September 2011 by imported>Henning (None)
Jump to navigation Jump to search

Description

GetMapMarkerVisible returns 0 for an undiscovered marker, 1 for a IBS 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. <!-- List of functions that use SetActorsAI (wiki) -->