|
请教个触发问题。我需要用到一个触发,关于在A位置创建多个兵的时候,然后分别把兵移动到其他4个位置。但是按照我的触发,那些电脑兵又会自动移动到A位置。内容如下,求解。希望来一个,在A位置创建4个单位后,把这4个单位移动到另外4个位置,兵不乱跑的触发。
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Men", "Location 1", At least, 1);
Actions:
Create Unit("Player 2", "Zerg Queen", 4, "Location 2");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Always();
Actions:
Move Unit("Player 2", "Men", 1, "Location 2", "Location 3");
Move Unit("Player 2", "Men", 1, "Location 2", "Location 4");
Move Unit("Player 2", "Men", 1, "Location 2", "Location 5");
Move Unit("Player 2", "Men", 1, "Location 2", "Location 6");
Preserve Trigger();
}
//-----------------------------------------------------------------//
test.scx
(37.63 KB, 下载次数: 1)
|
|