exposeAllOwnedArea: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
exposeAllOwnedArea( | exposeAllOwnedArea(mapRef) | ||
</ | </syntaxhighlight> | ||
'''Parameters''' | '''Parameters''' | ||
{{param| | {{param|mapRef|The Name or ID of an existing map within the campaign. This map does not need to be the one currently visible. If the map holds no tokens with vision owned by the current player, no additional fog-of-war is exposed, but fog already exposed is not reset.}} | ||
|examples= | |examples= |
Latest revision as of 23:59, 14 March 2023
exposeAllOwnedArea() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.5.0
Exposes all area visible to tokens owned by the current player that have vision turned on in the token editor. The actual area exposed depends on server settings (like Individual Views) and various MapTool Preferences.
Usage
exposeAllOwnedArea(mapRef)
Parameters
mapRef
- The Name or ID of an existing map within the campaign. This map does not need to be the one currently visible. If the map holds no tokens with vision owned by the current player, no additional fog-of-war is exposed, but fog already exposed is not reset.