getAlwaysVisible

From RPTools Wiki
Revision as of 20:44, 10 August 2017 by Wolph42 (talk | contribs) (Created page with "{{MacroFunction |name=getAlwaysVisible |version=1.4.2.0 |description=returns the value of the corresponding setting for the token. Always visible is a VBL setting which can be...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

getAlwaysVisible() Function

Introduced in version 1.4.2.0
returns the value of the corresponding setting for the token. Always visible is a VBL setting which can be found in the edit menu of the token under the VBL tab.

Usage

getAlwaysVisible([id])

Parameters

  • value - The value of the setting to set, true(1) or false(0).
  • id - OPTIONAL: The token id of the token for which you want to set this setting, defaults to the Current Token.

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

Example

The Always Visible setting for Dragon is currently set to: [r: getAlwaysVisible("Dragon")]
[h, token("Dragon"): isVisible = getAlwaysVisible()]