Destructible(可毀物)

傳回指定的可毀物(樹、城門等可以打的)

項目 內容 說明
地圖上已放置的任意可毀物
No Destructible(並非可破壞) 無可毀物(預設值)
Destructible 變數
Last Created Destructible Last created destructible 最後一個由 "Destructible - Create" 動作所產生的可毀物
Random Destructible In Region Random destructible in Region 傳回指定區域中的隨機一個可毀物
Random Destructible In Region Matching Condition Random destructible in Region matching Condition 傳回指定區域中隨機一個符合 判斷條件的可毀物

*使用 "Matching Destructible" 代表要判斷的可毀物
Picked Destructible Picked destructible 當使用 "Pick Every Destructible…" 動作時,這代表每一個選到的可毀物
Matching Destructible Matching destructible 用這個項目來表示 "Random Destructible In Region Matching Condition" 條件所要判定的可毀物;基本邏輯請參照Units或Player
Dying Destructible Dying destructible 回應"Destructible Dies"事件,代表被破壞的可毀物
Target Destructible Of Issued Order Target destructible of issued order 回應 "Is Issued An Order Targeting An Object" 部隊事件,代表命令指定的目標可毀物
Target Destructible Of Ability Being Cast Target destructible of ability being cast 回應"Channeling/Casting/Starts an ability" 部隊事件,代表 技能指定的目標可毀物

*很特別的,"Finishes casting an ability"和"Stops casting an ability"事件會傳回空值
*此函數和其它的事件回傳函數不太一樣,在Wait以後往往會被重設而傳回空值或不正確的值。所以如果有等待的情況,最好先用變數記錄下來
Rally-Point As Destructible Rally-Point of Unit as a destructible 傳回指定建築的起始位置(Rally Point)

*如果該部隊沒有設起始位置,或者起始位置不是指定可毀物(可能指定點或部隊),則會傳回"No destructible"
中英對照/變數/destructible.txt · 上一次變更: 2007年11月11日 5:22 pm 來自 hobill
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0