exposeAllOwnedAreas: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
</source>
</source>
'''Parameter'''
'''Parameter'''
{{param|mapName|The name of an existing map within the map.  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.}}
{{param|mapName|The name 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=

Revision as of 04:59, 17 February 2019

exposeAllOwnedArea() Function

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

Introduced in version 1.5.0
Exposes all areas 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(mapName)

Parameter

  • mapName - The name 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.


See Also