getTokenOpacity

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

getTokenOpacity() Function

Introduced in version 1.4.2.0
returns the opacity value of the corresponding token.

Usage

getTokenOpacity([id])

Parameters

  • id - OPTIONAL: The token id of the token for which you want to retrieve the opacity, defaults to the Current Token.

Example

The opacity for the Dragon token is: [r: getTokenOpacity("Dragon")]
[h, token("Dragon"): opacity = getAlwaysVisible()]