exposeFogAtWaypoints: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name= exposeFogAtWaypoints |trusted=true |version=1.5.0 |description= Returns a string indicating whether the '''Expose Fog At Waypoints''' option is set in t...") |
No edit summary |
||
Line 4: | Line 4: | ||
|version=1.5.0 | |version=1.5.0 | ||
|description= | |description= | ||
Returns a string indicating whether the '''Expose Fog At Waypoints''' option is set in the MapTool menu. | Returns a string indicating whether the '''Expose Fog At Waypoints''' option is set in the MapTool Map menu. This menu option toggles the setting for the currently displayed map. | ||
This setting affects when automatic exposure of Fog of War (FoW) will be performed after a token has been moved. With it enabled, FoW will only be exposed at any waypoints set by the user along the tokens path plus the stopping point. If not enabled, FoW will be exposed from every cell along the token's path. | |||
|usage= | |usage= |
Revision as of 04:48, 17 February 2019
exposeFogAtWaypoints() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.5.0
Returns a string indicating whether the Expose Fog At Waypoints option is set in the MapTool Map menu. This menu option toggles the setting for the currently displayed map.
This setting affects when automatic exposure of Fog of War (FoW) will be performed after a token has been moved. With it enabled, FoW will only be exposed at any waypoints set by the user along the tokens path plus the stopping point. If not enabled, FoW will be exposed from every cell along the token's path.
Usage
exposeFogAtWaypoints()
Parameter None.
Examples
[h: empty = exposeFogAtWaypoints()]