addAllNPCsToInitiative/ja: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:
|name=Function addAllNPCsToInitiative
|name=Function addAllNPCsToInitiative
|trusted=true
|trusted=true
|description=<!--Adds all the [[Introduction_to_Tokens#Token_Type|NPC 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]].-->  
|description=<!--Adds all the [[Introduction_to_Tokens#Token_Type|NPC token]]s on the current [[Introduction to Mapping|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]].-->  
現在の[[Map:map|地図]]上にある全ての[[Introduction_to_Tokens#Token_Type|NPCトークン]]を[[MapTool User Interface#Initiative|イニシアチブ・パネル]]に追加する。この関数は、[[MapTool User Interface#Initiative|イニシアチブ・パネル]]に追加された[[Token:token|トークン]]の数を返す。
現在の[[Introduction to Mapping|地図]]上にある全ての[[Introduction_to_Tokens#Token_Type|NPCトークン]]を[[MapTool User Interface#Initiative|イニシアチブ・パネル]]に追加する。この関数は、[[MapTool User Interface#Initiative|イニシアチブ・パネル]]に追加された[[Token:token|トークン]]の数を返す。


<!--This function will not assign any initiative value to the [[Token:token|token]]s, you can use the [[setInitiative | {{code|setInitiative()}}]] function
<!--This function will not assign any initiative value to the [[Token:token|token]]s, you can use the [[setInitiative | {{code|setInitiative()}}]] function

Latest revision as of 17:08, 20 April 2023

Languages:  English  • 日本語


Function addAllNPCsToInitiative() Function

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

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

Usage

addAllNPCsToInitiative()

Example

[h: noTokens = addAllNPCsToInitiative()]


[r: addAllNPCsToInitiative()] 体のNPCがイニシアチブ・パネルに追加されました。

See Also

Languages:  English  • 日本語