exposePCOnlyArea: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
| description=
| description=
Clears Fog of War (FOW) where PC tokens can see and establishes/restores FOW everywhere they cannot.
Clears Fog of War (FOW) where PC tokens can see and establishes/restores FOW everywhere they cannot.
 
{{note|This works the same as Meta-Shift-O.  Note that the keystroke may be different for locales other than U.S. English.}}
{{Note|This works the same as Meta-Shift-O.}}
This function is often used in combination with the [[onTokenMove]] event.
This function is often used in combination with the [[onTokenMove]] event.
| usage=
| usage=

Revision as of 07:57, 6 March 2019

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

exposePCOnlyArea() Function

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

Introduced in version 1.3b76
Clears Fog of War (FOW) where PC tokens can see and establishes/restores FOW everywhere they cannot.
This works the same as Meta-Shift-O. Note that the keystroke may be different for locales other than U.S. English.
This function is often used in combination with the onTokenMove event.

Usage

exposePCOnlyArea()

or

exposePCOnlyArea(mapname)