Difference between revisions of "CanFastTravelToMarker - ObjectReference"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
imported>Lisselli
m (Note about trying find out if a map marker is visible.)
Line 21: Line 21:
bool canFastTravel = RiverwoodMarkerObjectRef.CanFastTravelToMarker()
bool canFastTravel = RiverwoodMarkerObjectRef.CanFastTravelToMarker()
</source>
</source>
== Notes ==
* If you want to know if a location is visible and already discovered, use [[GetMapMarkerVisible]].


== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]
*[[IsMapMarkerVisible - ObjectReference]]
*[[IsMapMarkerVisible - ObjectReference]]

Revision as of 01:11, 28 July 2017

Member of: ObjectReference Script

Checks if the player can fast travel to this map marker.

Syntax

bool Function CanFastTravelToMarker() native

Parameters

None.

Return Value

True if player can fast travel to this map marker. False otherwise.

Examples

; Can the player fast travel to the Riverwood map marker?
bool canFastTravel = RiverwoodMarkerObjectRef.CanFastTravelToMarker()

Notes

See Also