By linyifei
这是用的触发的替换法,适用于玩家,不适合电脑AI,除非你有辅助的触发。
首先我们需要几个位置(多少种英雄兵就多少个位置)。我们用机枪兵举例吧,画个位置起名叫做“Jim”
以下是触发:
玩家:人类玩家
条件:
Player X commands at least 1 Terran Marine.
动作:
Preserve trigger.
Center location labeled 'Jim' on Terran Marine owned by Player X at 'anywhere'.
Remove 1 Terran Marine for Player X at 'Jim'.
Create 1 Jim Raynor (Marine) at 'Jim' for Player X.