Center location labeled 'Wraith Location 1' on Wraith A owned by Wraith Computer at 'Wraith Location 1'.
Center location labeled 'Wraith Attack 1' on Wraith A owned by Wraith Computer at 'Wraith Location 1'.
然后,我们要判断隐飞的逃跑。触发如下:
Players:
Computer Player(该操控隐飞的的电脑玩家)
Conditions:
Some Players(敌人) brings at least 1 [men] to 'Wraith Attack 1'.
Wraith Computer brings exactly 0 Wraith A to 'Wraith Run 1'.(这条触发是为了避免遭受空军追杀后,不停移动向逃跑方向导致无法攻击的BUG)
Actions:
Issue order to all Wraith A owned by Wraith A at 'Wraith Location 1':
move to 'Wraith Run 1'.
Preserve trigger.
当然最重要的一条,我们要让电脑有敌人并且可以攻击。
Players:
Computer Player(该操控隐飞的的电脑玩家,必须)
Conditions:
Some Players(敌人) brings exactly 0 [men] to 'Wraith Attack 1'.(用来判断敌人是否在攻击范围内)
Actions:
Set Some Players(敌人,但是这个触发之前不是) to Enemy.
Execute AI script 'Send All Units on Random ?uicide Missions' at 'Wraith Location 1'.(只能是这个AI,其他的无效。Wraith Location 1的作用就在于此)