Image Token: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Image Token=== An image Token:token is a Token:token whose name starts with the string "image:" -- case is not important. These Token:tokens can appear on any Map:map...)
 
No edit summary
Line 1: Line 1:
==Image Token===
==Image Token==
An image [[Token:token|token]] is a [[Token:token|token]] whose name starts with the string "image:" -- case is not important. These [[Token:token|token]]s can appear on any [[Map:map|map]] and you can use functions such as [[Macros:Functions:getImage|getImage()]] to search through all of the [[Map:map|map]]s to find the [[Token:token|token]] and return the [[asset id]] for the [[Token:token]'s image. The [[Token:image token|image token]] does not have to be owned by a player to be used but the [[Token:visible to player|visible to player]] flag must be set. You can not have more than one [[Token:image token|image token]] with the same name in a [[Campaign:campaign file|campaign file]].
An image [[Token:token|token]] is a [[Token:token|token]] whose name starts with the string "image:" -- case is not important. These [[Token:token|token]]s can appear on any [[Map:map|map]] and you can use functions such as [[Macros:Functions:getImage|getImage()]] to search through all of the [[Map:map|map]]s to find the [[Token:token|token]] and return the [[asset id]] for the [[Token:token]'s image. The [[Token:image token|image token]] does not have to be owned by a player to be used but the [[Token:visible to player|visible to player]] flag must be set. You can not have more than one [[Token:image token|image token]] with the same name in a [[Campaign:campaign file|campaign file]].

Revision as of 21:30, 1 December 2008

Image Token

An image token is a token whose name starts with the string "image:" -- case is not important. These tokens can appear on any map and you can use functions such as getImage() to search through all of the maps to find the token and return the asset id for the [[Token:token]'s image. The image token does not have to be owned by a player to be used but the visible to player flag must be set. You can not have more than one image token with the same name in a campaign file.