Difference between revisions of "AddToMap - ObjectReference"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>RobinHood70
 
imported>Illyism
m
Line 7: Line 7:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
Function AddToMap(bool abFastTravel = False) native
Function AddToMap(bool abAllowFastTravel = False) native
</source>
</source>


== Parameters ==
== Parameters ==
*abFastTravel: Whether the player can fast-travel to this marker or not.
*abAllowFastTravel: Whether the player can fast-travel to this marker or not.
**'''Default''': False
**'''Default''': False



Revision as of 15:12, 3 February 2020

Member of: ObjectReference Script

Adds this reference (which must be a map marker) to the player's map, optionally making it available for fast-travel.

Syntax

Function AddToMap(bool abAllowFastTravel = False) native

Parameters

  • abAllowFastTravel: Whether the player can fast-travel to this marker or not.
    • Default: False

Return Value

None.

Examples

; Adds this marker to the map
MyHouseMarkerProperty.AddToMap()


; Adds this marker to the map, letting the player fast-travel
MyHouseMarkerProperty.AddToMap(true)

See Also