setTokenPortrait: 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...)
 
No edit summary
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=setTokenPortrait
|name=setTokenPortrait
|proposed=true
|version=1.3b77
|version=1.3b77
|description=
|description=

Revision as of 07:50, 19 November 2010

 Note: This refers to a proposed change that has not been implemented in the main code base yet.

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)