AddToMap - ObjectReference: Difference between revisions
Jump to navigation
Jump to search
m (Correct Parameter Name (abFastTravel --> abAllowFastTravel)) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == |
== Syntax == |
||
< |
<syntaxhighlight lang="papyrus"> |
||
Function AddToMap(bool abAllowFastTravel = False) native |
Function AddToMap(bool abAllowFastTravel = False) native |
||
</syntaxhighlight> |
|||
</source> |
|||
== Parameters == |
== Parameters == |
||
| Line 18: | Line 18: | ||
== Examples == |
== Examples == |
||
< |
<syntaxhighlight lang="papyrus"> |
||
; Adds this marker to the map |
; Adds this marker to the map |
||
MyHouseMarkerProperty.AddToMap() |
MyHouseMarkerProperty.AddToMap() |
||
</syntaxhighlight> |
|||
</source> |
|||
<br/> |
<br/> |
||
< |
<syntaxhighlight lang="papyrus"> |
||
; Adds this marker to the map, letting the player fast-travel |
; Adds this marker to the map, letting the player fast-travel |
||
MyHouseMarkerProperty.AddToMap(true) |
MyHouseMarkerProperty.AddToMap(true) |
||
</syntaxhighlight> |
|||
</source> |
|||
== See Also == |
== See Also == |
||
Latest revision as of 19:53, 5 September 2026
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[edit | edit source]
Function AddToMap(bool abAllowFastTravel = False) nativeParameters[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)