AddToMap - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 18:06, 7 March 2020 by imported>Qazaaq (Move categories to bottom of page and added links to the page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Adds this Reference (which must be a map marker) to the Players map, optionally making it available for fast-travel.

Syntax[edit | edit source]

Function AddToMap(bool abAllowFastTravel = False) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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


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

See Also[edit | edit source]