Difference between revisions of "AddToMap - ObjectReference"
Jump to navigation
Jump to search
imported>Illyism m |
imported>Qazaaq (Move categories to bottom of page and added links to the page.) |
||
Line 1: | Line 1: | ||
'''Member of:''' [[ObjectReference Script]] | '''Member of:''' [[ObjectReference Script]] | ||
Adds this | Adds this [[Reference]] (which must be a map marker) to the [[Player]]s map, optionally making it available for fast-travel. | ||
== Syntax == | == Syntax == | ||
Line 29: | Line 27: | ||
== See Also == | == See Also == | ||
*[[Reference]] | |||
*[[ObjectReference Script]] | *[[ObjectReference Script]] | ||
*[[EnableFastTravel - ObjectReference]] | *[[EnableFastTravel - ObjectReference]] | ||
*[[ShowAllMapMarkers - Game]] | *[[ShowAllMapMarkers - Game]] | ||
[[Category:Scripting]] | |||
[[Category:Papyrus]] |
Latest revision as of 18:06, 7 March 2020
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)