Image Token: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page Image Token to image Token: Converting page titles to lowercase)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{stub}}
{{stub}}
==Image Token==
==Image Token==
An image token is a [[Token]] whose name starts with the string "image:" -- case is not important. These [[Token|token]]s can appear on any [[Map:map|map]] and you can use functions such as [[getImage|getImage()]] to search through all of the [[Map:map|map]]s to find the [[Token|token]] and return the [[Asset ID|asset id]] for the [[Token|token]]'s image. The [[Image Token|image token]] does not have to be owned by a player to be used but the [[Introduction_to_Tokens#Visible_to_Players|visible to player]] flag must be set. You can not have more than one [[Image Token|image token]] with the same name in a [[Campaign:campaign file|campaign file]].
An image token is a [[Token]] whose name starts with the string "image:" -- case is not important. These [[Token|token]]s can appear on any [[Introduction to Mapping|map]] and you can use functions such as [[getImage|getImage()]] to search through all of the [[Introduction to Mapping|map]]s to find the [[Token|token]] and return the [[Asset ID|asset id]] for the [[Token|token]]'s image. The [[Image Token|image token]] does not have to be owned by a player to be used but the [[Introduction_to_Tokens#Visible_to_Players|visible to player]] flag must be set. You can not have more than one [[Image Token|image token]] with the same name in a [[Campaign File|campaign file]].


==See Also==
==See Also==
Line 8: Line 8:
* [[Token Types]]
* [[Token Types]]
* [[Library_Token|Library Token]]
* [[Library_Token|Library Token]]
* [[TokenTool QuickStart|TokenTool QuickStart Guide]]
* [[TokenTool Quickstart|TokenTool QuickStart Guide]]
* [[Introduction_to_Tokens|Introduction to Tokens]]
* [[Introduction_to_Tokens|Introduction to Tokens]]



Latest revision as of 23:59, 4 May 2023

Languages:  English  • 日本語


 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

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'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.

See Also

Languages:  English  • 日本語