exposePCOnlyArea: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Undo revision 6985 by Phergus (talk))
mNo edit summary
Line 1: Line 1:
{{stub}}
{{MacroFunction
{{MacroFunction
| name=exposePCOnlyArea
| name=exposePCOnlyArea
| version=1.3b76
| version=1.3b76
|trusted=true
|trusted=true
| description=Exposes FoW (fog of war) where PC tokens can see and establishes/restores FoW where not.
| description=
{{stub}}
Clears Fog of War (FOW) where PC tokens can see and establishes/restores FOW everywhere they cannot.
Exposes FoW (fog of war) where PC tokens can see and establishes/restores FoW where not.
 
This works exactly the same as meta-shift-o.  
{{Note|This works the same as Meta-Shift-O.}}
This function works best in combination with the [[onTokenMove]] event.
This function is often used in combination with the [[onTokenMove]] event.
| usage=
| usage=
<source lang="mtmacro">
<source lang="mtmacro">

Revision as of 07:56, 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.
This function is often used in combination with the onTokenMove event.

Usage

exposePCOnlyArea()

or

exposePCOnlyArea(mapname)