Difference between revisions of "ShowMap"
Jump to navigation
Jump to search
imported>Wkilleen |
imported>Pintocat |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Function | |||
|origin = GECK1 | |||
|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> | |||
==See Also== | |||
[[GetMapMarkerVisible]] | |||
[[ShowAllMapMarkers]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.1)]] | |||
[[Category:Miscellaneous Functions]] | [[Category:Miscellaneous Functions]] | ||
[[Category:Miscellaneous Functions (GECK 1.1)]] |
Latest revision as of 11:02, 24 January 2017
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
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.
Syntax
ShowMap MapMarkerID:Ref enableFastTravel:int
Examples
ShowMap SecretDungeonMapMarker ; show SecretDungeon on world map, but don't enable fast travel
ShowMap NotSoSecretVillageMapMarker, 1 ; show NotSoSecretVillage on world map and immediately enable fast travel to it