傳回指定的玩者(含電腦、被動、中立、……等)
項目 | 內容 | 說明 | |
---|---|---|---|
Player 1 (Red) | 索引值為1(預設值) | ||
Player 2 (Blue) | 索引值為2 | ||
Player 3 (Teal) | 索引值為3 | ||
Player 4 (Purple) | 索引值為4 | ||
Player 5 (Yellow) | 索引值為5 | ||
Player 6 (Orange) | 索引值為6 | ||
Player 7 (Green) | 索引值為7 | ||
Player 8 (Pink) | 索引值為8 | ||
Player 9 (Gray) | 索引值為9 | ||
Player 10 (Light Blue) | 索引值為10 | ||
Player 11 (Dark Green) | 索引值為11 | ||
Player 12 (Brown) | 索引值為12 | ||
Neutral Hostile | 索引值為13 | ||
Neutral Victim | 索引值為14 | ||
Neutral Extra | 索引值為15 | ||
Neutral Passive | 索引值為16 | ||
Player變數 | |||
Load Player Handle | Load X of Y in Hashtable | 記錄在Hashtable指定位置的玩家 | |
Picked Player | Picked player | 當使用 "Pick Every Player…" 動作時,這代表每一個被挑到的玩者 *例如: Player Group - Pick every player in (All players) and do (Player - Add 1000 to (Picked player) Current gold) 那麼它的動作就是 →Player - Add 1000 to (Player 1 (Red)) Current gold →Player - Add 1000 to (Player 2 (Blue)) Current gold . . . →Player - Add 1000 to (Player 12 (Brown)) Current gold →Player - Add 1000 to (Neutral Hostile) Current gold →Player - Add 1000 to (Neutral Victim) Current gold →Player - Add 1000 to (Neutral Extra) Current gold →Player - Add 1000 to (Neutral Passive) Current gold |
|
Matching Player | Matching player | 當使用 "All Players Matching Condition" 判斷條件時,這代表要判斷的玩者 *例如: All players matching (((Picked player) Current gold) Less than 100) 假設玩者1有300Gold、玩者2有50Gold、玩者3~12都沒有設,那麼它的動作就是: →判斷(((Player 1 (Red)) Current gold) Less than 100) Equal to Computer)的真假,在這個例子中,玩者1不符合這個條件,因此不會被選取 →判斷(((Player 2 (Blue)) Current gold) Less than 100) Equal to Computer)的真假,在這個例子中,玩者2符合這個條件,因此 會被選取 →判斷(((Player 3 (Teal)) Current gold) Less than 100) Equal to Computer)的真假,在這個例子中,玩者3符合這個條件,因此會被選取 . . . 因此最後會選到Player 2 (Blue)、Player 3 ~ 12、Neutral Hostile、Neutral Victim、Neutral Extra、Neutral Passive |
|
Owner Of Unit | Owner of Unit | 部隊的擁有者 | |
Owner Of Item | Owner of Item | 物品的擁有者 | |
Random Player From Player Group | Random player from Player Group | 玩者團隊中的隨機一個玩者 | |
Convert Player Index To Player | Player(Player Index) | 將索引值轉換為玩者 *索引值範圍從1~16,每個玩者的索引值最上面有寫,例如: Player(1) = Player 1 (Red) Player(2) = Player 2 (Blue) Player(12) = Player 12 (Brown) Player(16) = Neutral Passive |
|
Previous Owner | Previous owner | 回應 "Changes Owner" 部隊事件,代表部隊的前一個擁有者 | |
Triggering Player | Triggering player | 回應任何玩者事件,代表觸發事件的玩者。此外,也可以回應 "Dialog Button Click" 事件,代表按下對話框按鈕的玩者 *注意,有90%的初學者會弄錯(筆者在學的時候也曾經寫錯>"<),而寫出如下的觸發事件: Give Die Unit Player bounty Events Unit - A unit Dies Conditions Actions Player - Add 1000 to (Triggering player) Current gold 然而,在這個例子中,觸發事件的是部隊,而不是玩者。因此 會造成錯誤,應該要這樣寫: Give Die Unit Player bounty Events Unit - A unit Dies Conditions Actions Player - Add 1000 to (Owner of (Triggering Unit)) Current gold 請大家特別注意 |
|
Player In Position | Player in position Position of Leaderboard | 計分板上,從上面數來第X個玩者 |
討論區