AddToMap - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
m (Correct Parameter Name (abFastTravel --> abAllowFastTravel))
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function AddToMap(bool abAllowFastTravel = False) native
Function AddToMap(bool abAllowFastTravel = False) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Adds this marker to the map
; Adds this marker to the map
MyHouseMarkerProperty.AddToMap()
MyHouseMarkerProperty.AddToMap()
</source>
</syntaxhighlight>
<br/>
<br/>
<source lang="papyrus">
<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)
</source>
</syntaxhighlight>


== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]
*[[EnableFastTravel - ObjectReference]]
*[[EnableFastTravel - ObjectReference]]

Navigation menu