This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
Gets the asset id for the image of a state, the state must be one of the image types for this to work.
getStateImage(state)getStateImage(state, size)Parameters
state - The name of the state which has its image asset returned.
size - The size that the state image will be resized to; this is the height of the final size.
To display the image for the "Dead" token state use.
<img src='[r:getStateImage("Dead")]'></img>