Difference between revisions of "GetMapMarkerVisible"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Pintocat
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=='''Description'''==
{{Function
 
|origin = GECK1
'''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.
|summary = Returns 0 for an undiscovered marker, 1 for a map that's visible, and 2 for a visible marker that can be traveled to.
 
|name = GetMapMarkerVisible
=='''Syntax'''==
|returnVal = 0, 1
 
|returnType = void
  [''MapMarkerID''].GetMapMarkerVisible
  |referenceType = markerref
 
  |example = if ( markerref.GetMapMarkerVisible == 0 )
=='''Examples'''==
    ; Do stuff you want to do if marker is not on map at all
  if ( markerref.GetMapMarkerVisible == 0 )
endif
Do stuff you want to do if marker is not on map at all


  if ( markerref.GetMapMarkerVisible != 0 )
  if ( markerref.GetMapMarkerVisible != 0 )
Do stuff you want to do if marker is on map
    ; Do stuff you want to do if marker is on map
endif


if ( markerref.GetMapMarkerVisible == 1 )
  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)
    ; 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 )
  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)
    ; 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
=='''Notes'''==
}}
*None at this time




=='''See Also'''==
=='''See Also'''==
[[ShowMap]]


 
[[ShowAllMapMarkers]]
=='''Reference'''==
None provided.
<!-- [[SetActorsAI_Reference|List of functions that use SetActorsAI]] (wiki) -->
 
[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[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

[help]
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


See Also

ShowMap

ShowAllMapMarkers