GetMapMarkerVisible

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns the visible state of the calling map marker reference.

Syntax

[help]
(markerState:int) markerRef.GetMapMarkerVisible

Example

set iMarkerState to rMarker.GetMapMarkerVisible

To check for visibility, regardless of ability to travel:

if (rMarker.GetMapMarkerVisible)
	;marker is visible, but may not be fast travel enabled.
endif 

Marker State

0	Marker is not visible on the map.
1	Marker is visible on the map, but not fast travel enabled.
2	Marker is visible and fast travel enabled.

See Also