restoreFoW: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Changed FoW category.)
mNo edit summary
Line 4: Line 4:
|trusted=true
|trusted=true
|version=1.4.1.3
|version=1.4.1.3
|description=resets all FoW for the map, duplicates the FoW reset when you import a new map sans dialog
|description=
Resets all fog of war (FoW) for the map.


|usage=
|usage=
Line 11: Line 12:
</source>
</source>


This function resets all FoW for the current map. Duplicates the FoW reset available through Map Menu -> Restore Fog-of-War or when you import a new map sans dialog.
This function resets all FoW for the current map. Duplicates the FoW reset available through '''Map Menu''' -> '''Restore Fog-of-War''' or when you import a new map sans dialog.


'''Parameters'''
'''Parameters'''
{{param|none|This function has no parameters.}}
{{param|none|This function has no parameters.}}


''Example:''<source lang="mtmacro">
''Example:''<source lang="mtmacro">
Line 23: Line 22:


|also=
|also=
[[Introduction_to_Lights_and_Sights#Fog_of_War ]], {{func|toggleFoW}}
[[Introduction_to_Lights_and_Sights#Fog_of_War]], {{func|toggleFoW}}
}}
}}
[[Category:Miscellaneous Function]]
[[Category:Miscellaneous Function]]
[[Category:FoW]]
[[Category:FoW]]

Revision as of 04:42, 7 March 2019

restoreFoW() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.4.1.3
Resets all fog of war (FoW) for the map.

Usage

restoreFoW()

This function resets all FoW for the current map. Duplicates the FoW reset available through Map Menu -> Restore Fog-of-War or when you import a new map sans dialog.

Parameters

  • none - This function has no parameters.

Example:

[h:restoreFoW()]



See Also