AddToMap - ObjectReference

Revision as of 19: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)

Member of: ObjectReference Script

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

SyntaxEdit

Function AddToMap(bool abAllowFastTravel = False) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

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


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

See AlsoEdit