Image Token/ja: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (visible to player link fixed)
Line 3: Line 3:
==画像トークン==
==画像トークン==


<div style="color:gray">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]].</div>
<div style="color:silver">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]].</div>


画像トークンは"image:"の文字列で始まる名前を持つ[[Token|トークン]]のことだ(大小文字は区別しない)。この[[Token|トークン]]はどの[[Map:map|マップ]]でも配置でき、[[getImage|getImage()]]のような全ての[[Map:map|マップ]]からトークンを探し出し、トークン画像の[[Asset ID|アセットID]]を返す関数を使える。[[Image Token/ja|画像トークン]]は、プレイヤーが使用するにあたり所有権を設定する必要はないが、[[Token:visible to player|プレイヤーに表示]]の設定を有効にしていなければならない。[[Campaign:campaign file|キャンペーン・ファイル]]の中で同じ名前を持つ[[Image Token/ja|画像トークン]]を複数持つことはできない。
画像トークンは "image:" の文字列で始まる名前を持つ[[Token|トークン]]のことだ(大小文字は区別しない)。この[[Token|トークン]]はどの[[Map:map|マップ]]でも配置でき、[[getImage|getImage()]]のような全ての[[Map:map|マップ]]からトークンを探し出し、トークン画像の[[Asset ID|素材ID]]を返す関数を使える。[[Image Token/ja|画像トークン]]は、プレイヤーが使用するにあたり所有権を設定する必要はないが、[[Token:visible to player|プレイヤーに表示]]の設定を有効にする必要がある。[[Campaign:campaign file|キャンペーン・ファイル]]の中で同じ名前を持つ[[Image Token/ja|画像トークン]]を複数持つことはできない。


==関連情報==
==関連情報==

Revision as of 15:26, 2 January 2022

Languages:  English  • 日本語

画像トークン

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.

画像トークンは "image:" の文字列で始まる名前を持つトークンのことだ(大小文字は区別しない)。このトークンはどのマップでも配置でき、getImage()のような全てのマップからトークンを探し出し、トークン画像の素材IDを返す関数を使える。画像トークンは、プレイヤーが使用するにあたり所有権を設定する必要はないが、プレイヤーに表示の設定を有効にする必要がある。キャンペーン・ファイルの中で同じ名前を持つ画像トークンを複数持つことはできない。

関連情報

Languages:  English  • 日本語