setTokenHandout: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: {{MacroFunction |name=setTokenPortrait |version=1.3b77 |description= Sets the portrait image for the for the Current Token. The image can come from several sources. It can be an [[as...)
 
mNo edit summary
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=setTokenPortrait
|name=setTokenPortrait
Line 14: Line 12:
setTokenPortrait(tokenImageName)
setTokenPortrait(tokenImageName)
</source>
</source>
}}
[[Category:Token Function]]
[[Category:Token Function]]

Revision as of 16:30, 16 November 2010

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)