setTokenPortrait

From RPTools Wiki
Revision as of 16:31, 16 November 2010 by Coveredinfish (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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)