傳回指定的部隊類型
項目 | 內容 | 說明 |
---|---|---|
所有部隊類型,如Footman、Huntress、Ghoul、……etc. | ||
No unit-type | 無部隊類型(預設值) | |
Unit Type變數 | ||
Unit-Type Of Unit | Unit-type of Unit | 指定部隊的部隊類型 |
Random Creep Unit-Type | Random level Level creep unit-type | 指定等級的隨機一種Creep部隊類型,-1代表任意等級 *可傳回的部隊種類可在可在Object Editor => Unit中做修改。只有Editor - Display as Neutral Hostile = true,並且Editor - Tilesets中有加入這張地圖使用的方塊組者 (或者All),可以被這個函數選出。 |
Random Neutral Building Unit-Type | Random neutral building unit-type | 隨機一種中立建築 |
Convert String To Unit-Type | Unit-type(String) | 將指定字串轉換為部隊類型 |
Trained Unit-Type | Trained unit-type | 回應 "Begins/Cancels/Finishes Training A Unit" 部隊事件,指代要 開始/取消/完成 訓練的部隊類型 |
討論區