toggleFoW: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Fixed description. Extended text.)
(Changed FoW category.)
Line 26: Line 26:
}}
}}
[[Category:Miscellaneous Function]]
[[Category:Miscellaneous Function]]
[[Category:FoW Function]]
[[Category:FoW]]

Revision as of 21:48, 20 August 2018

toggleFoW() Function

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

Introduced in version 1.4.1.3
toggles the state of Fog of War (FoW) on the current map.

Usage

toggleFoW(value, id)

This function toggles the state of Fog of War (FoW) on the current map either off or on. This functions identically to the menu option Map -> Fog-of-War or the hotkey Meta-W.

Parameters

  • none - Has no parameters.


Example:

[h:toggleFoW()]



See Also