setTokenHandout: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=setTokenPortrait
|name=setTokenHandout
|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 handout 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]].


|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
setTokenPortrait(assetId)
setTokenHandout(assetId)
</source>
</source>
<source lang="mtmacro" line>
<source lang="mtmacro" line>
setTokenPortrait(tokenImageName)
setTokenHandout(tokenImageName)
</source>
</source>
}}
}}


[[Category:Token Function]]
[[Category:Token Function]]

Revision as of 16:31, 16 November 2010

setTokenHandout() Function

Introduced in version 1.3b77
Sets the handout 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

setTokenHandout(assetId)
setTokenHandout(tokenImageName)