setAlwaysVisible: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 3: Line 3:
|version=1.4.2.0
|version=1.4.2.0
|description=
|description=
Turns the corresponding setting for the token on or off.  '''Always Visible''' is a VBL setting which can be found in the '''Edit...''' menu of the token under the VBL tab.  
Turns the corresponding setting for the token on or off.  This modifies the '''Visible over FoW''' VBL setting on the the VBL tab of the Edit Token dialog.


|usage=
|usage=

Revision as of 15:33, 10 October 2019

setAlwaysVisible() Function

Introduced in version 1.4.2.0
Turns the corresponding setting for the token on or off. This modifies the Visible over FoW VBL setting on the the VBL tab of the Edit Token dialog.

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")]