toggleFoW: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page toggleFoW to ToggleFoW without leaving a redirect: Converting page title to first-letter uppercase)
m (Conversion script moved page ToggleFoW to toggleFoW: Converting page titles to lowercase)
(No difference)

Revision as of 23:34, 9 February 2023

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()

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