AddToMap - ObjectReference: Difference between revisions
Jump to navigation
Jump to search
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
m (Correct Parameter Name (abFastTravel --> abAllowFastTravel)) |
||
| Line 7: | Line 7: | ||
== Syntax == |
== Syntax == |
||
<source lang="papyrus"> |
<source lang="papyrus"> |
||
Function AddToMap(bool |
Function AddToMap(bool abAllowFastTravel = False) native |
||
</source> |
</source> |
||
== Parameters == |
== Parameters == |
||
* |
*abAllowFastTravel: Whether the player can fast-travel to this marker or not. |
||
**'''Default''': False |
**'''Default''': False |
||
Revision as of 22:08, 31 January 2025
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) nativeParameters
- 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)