exposePCOnlyArea: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Removed text showing map name as an option.)
(Undo revision 6985 by Phergus (talk))
Line 4: Line 4:
| version=1.3b76
| version=1.3b76
|trusted=true
|trusted=true
| description=
| description=Exposes FoW (fog of war) where PC tokens can see and establishes/restores FoW where not.
{{stub}}
{{stub}}
Exposes FoW (fog of war) where PC tokens can see and establishes/restores FoW where not.
Exposes FoW (fog of war) where PC tokens can see and establishes/restores FoW where not.
Line 13: Line 13:
exposePCOnlyArea()
exposePCOnlyArea()
</source>
</source>
or
<source lang="mtmacro" >
exposePCOnlyArea(mapname)
</source>
}}


[[Category:Miscellaneous Function]]
[[Category:Miscellaneous Function]]
[[Category:FoW]]
[[Category:FoW]]

Revision as of 22:01, 20 August 2018

exposePCOnlyArea() Function

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

Introduced in version 1.3b76
Exposes FoW (fog of war) where PC tokens can see and establishes/restores FoW where not.

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

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.

This function works best in combination with the onTokenMove event.

Usage

exposePCOnlyArea()

or

exposePCOnlyArea(mapname)