addAllToInitiative/ja: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page AddAllToInitiative/ja to addAllToInitiative/ja: Converting page titles to lowercase)
No edit summary
Line 3: Line 3:
|name=addAllToInitiative
|name=addAllToInitiative
|trusted=true
|trusted=true
|description=<!--Adds all of the [[Token:token|token]]s on the current [[Map:map|map]] to the [[Initiative:initiative panel|initiative panel]]. This function returns the number of [[Token:token|token]]s that were added to the [[Initiative:initiative panel|initiative panel]].
|description=<!--Adds all of the [[Token:token|token]]s on the current [[Map:map|map]] to the [[MapTool User Interface#Initiative|initiative panel]]. This function returns the number of [[Token:token|token]]s that were added to the [[MapTool User Interface#Initiative|initiative panel]].


This function will not assign any initiative value to the [[Token:token|token]]s, you can use the [[setInitiative | {{code|setInitiative()}}]] function to set the initiative value of tokens. -->
This function will not assign any initiative value to the [[Token:token|token]]s, you can use the [[setInitiative | {{code|setInitiative()}}]] function to set the initiative value of tokens. -->
現在の[[Map:map|地図]]上の全ての[[Token:token|トークン]]を[[Initiative:Initiative panel|イニシアチブパネル]]に追加する。この関数は、[[Initiative:Initiative panel|イニシアチブパネル]]に追加された[[Token:token|トークン]]の数を返す。
現在の[[Map:map|地図]]上の全ての[[Token:token|トークン]]を[[MapTool User Interface#Initiative|イニシアチブパネル]]に追加する。この関数は、[[MapTool User Interface#Initiative|イニシアチブパネル]]に追加された[[Token:token|トークン]]の数を返す。


この関数は[[Token:token|トークン]]にイニシアチブ値を割り当てない。トークンのイニシアチブ値を設定するには[[setInitiative | {{code|setInitiative()}}]]関数を使用する。
この関数は[[Token:token|トークン]]にイニシアチブ値を割り当てない。トークンのイニシアチブ値を設定するには[[setInitiative | {{code|setInitiative()}}]]関数を使用する。

Revision as of 08:48, 12 February 2023

Languages:  English  • 日本語


addAllToInitiative() Function

 Note: This function can only be used in a Trusted Macro

現在の地図上の全てのトークンイニシアチブパネルに追加する。この関数は、イニシアチブパネルに追加されたトークンの数を返す。 この関数はトークンにイニシアチブ値を割り当てない。トークンのイニシアチブ値を設定するには setInitiative()関数を使用する。

Usage

[h: noTokens = addAllToInitiative()]
[r: addAllPCsToInitiative()] 個のトークンをイニシアチブパネルに追加しました。


See Also

Languages:  English  • 日本語