Description
Wiki Description
Checks if this map marker is visible to the player.
Documentation Comment
Is the map marker visible?
Caveats
CK Wiki - Notes
- This function only returns if the map marker is visible or not. If you want to know if a location is visible and already discovered, use GetMapMarkerVisible.
- Checking if a location is discovered, requires both this and ObjectReference.CanFastTravelToMarker(). If you wish to avoid a scripted method, the above will suffice.
Examples
; Is the Riverwood map marker visible to the player?
bool isMarkerVisible = RiverwoodMarkerObjectRef.IsMapMarkerVisible(); Is this location discovered?
Bool Function IsLocationDiscovered(ObjectReference akMapMarker)
; Returns true if the location's map marker is visible and
; can be fast traveled to, indicating it has been discovered.
if (akMapMarker.IsMapMarkerVisible() == TRUE && akMapMarker.CanFastTravelToMarker() == TRUE)
return true
else
return false
endif
EndFunctionAuto-Generated Example
bool returnedValue = myObjectReference__toCallFunctionOn.IsMapMarkerVisible()