setTokenPortrait: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Fixing wikilink)
Line 3: Line 3:
|version=1.3b77
|version=1.3b77
|description=
|description=
Sets the portrait image for the for the [[Current Token]]. The image can come from several sources. It can be an [[asset id]] (like from [[Macros:Functions:tblImage |tblImage()]] or[[Macros:Functions:getTokenImage|getTokenImage()]].)  or a [[Token:Image Token|Image Token]].
Sets the portrait image for the for the [[Current Token]]. The image can come from several sources. It can be an [[asset id]] (like from [[Macros:Functions:tblImage |tblImage()]] or[[Macros:Functions:getTokenImage|getTokenImage()]].)  or a [[Image Token]].


|usage=
|usage=

Revision as of 08:57, 24 July 2011

setTokenPortrait() Function

Introduced in version 1.3b77
Sets the portrait image for the for the Current Token. The image can come from several sources. It can be an asset id (like from tblImage() orgetTokenImage().) or a Image Token.

Usage

setTokenPortrait(assetId)
setTokenPortrait(tokenImageName)