Difference between revisions of "ShowMap"
Jump to navigation
Jump to search
no edit summary
imported>Gribbleshnibit8 |
imported>Pintocat |
||
Line 1: | Line 1: | ||
{{ | {{Function | ||
|summary = Adds the specified map marker to the player's world map. The player will still not be able to fast-travel to this location until she or he actually travels there once unless the optional enableFastTravel parameter is set to 1. | |||
|name = ShowMap | |||
|returnType = void | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = MapMarkerID | |||
|Type = Ref | |||
}}{{FunctionArgument | |||
|Name = enableFastTravel | |||
|Type = int | |||
|Optional = y | |||
}} | |||
}} | |||
==Examples== | |||
<pre> | |||
ShowMap SecretDungeonMapMarker | |||
; show SecretDungeon on world map, but don't enable fast travel | |||
</pre> | |||
<pre> | |||
ShowMap NotSoSecretVillageMapMarker, 1 | |||
; show NotSoSecretVillage on world map and immediately enable fast travel to it | |||
</pre> | |||
[[Category:Functions]] | [[Category:Functions]] |