Добавлено (08-06-2011, 13:40) --------------------------------------------- вот триггер который получился
function Trig_Boss_Actions takes nothing returns nothing local unit BigBadBoss set BigBadBoss = CreateUnit(Player(PLAYER_NEUTRAL_AGGRESSIVE),'u00B',1320.1,-1260.3,315) call IssuePointOrder(BigBadBoss,"attack",0,0) set BigBadBoss = null endfunction
function Bigbadboss_cond takes nothing returns boolean local integer wave = udg_wave return wave == 1 endfunction
function InitTrig_Boss takes nothing returns nothing local trigger t = CreateTrigger( ) call TriggerAddAction( t, function Trig_Boss_Actions ) endfunction