setAlwaysVisible

From RPTools Wiki
Revision as of 20:42, 10 August 2017 by Wolph42 (talk | contribs)
Jump to navigation Jump to search

setAlwaysVisible() Function

Introduced in version 1.4.2.0
turns the corresponding setting for the token on or off.

Usage

setAlwaysVisible(value, [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

[h: setAlwaysVisible(1)]
[h: setAlwaysVisible(0, "Dragon")]