toggleFoW

From RPTools Wiki
Revision as of 20:44, 20 August 2018 by Phergus (talk | contribs) (Created page with "{{MacroFunction |name=toggleFoW |proposed=false |trusted=true |version=1.4.1.3 |description=directly transfers vbl from token to normal VBL if true, otherwise it transfers fro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

toggleFoW() Function

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

Introduced in version 1.4.1.3
directly transfers vbl from token to normal VBL if true, otherwise it transfers from VBL to token

Usage

toggleFoW(value, id)

This function toggles the state of FoW on the current map either off or on.

Parameters

  • none - Has no parameters.


Example:

[h:toggleFoW()]



See Also