for unit enemy from GetUnitsOfPlayerAndTypeId(Player(PLAYER_NEUTRAL_AGGRESSIVE), 'z000')
            enemy.addEffect("war3mapImported\\FirstAidBackpack_ByEpsilon.mdx", "chest")
 
 
 
        for unit enemy from GetUnitsInRectOfPlayer(gg_rct_Cop_Move_Spawn, Player(PLAYER_NEUTRAL_AGGRESSIVE))
            enemy.issuePointOrder("attack", gg_rct_Attack_Move_Hostile_Reinforcements_Arrive.randomPoint())
 
 
function noStuckAction()
     doAfter(1, () -> begin
        GetEnteringUnit().issuePointOrder("attack", GroupPickRandomUnit(GetUnitsOfPlayerAll(ForcePickRandomPlayer(GetPlayersEnemies(Player(10))))).getPos())
     end)
 
 
function callBack()
        for unit enemy from GetUnitsOfPlayerAll(Player(10))
            enemy.issuePointOrder("attack", GroupPickRandomUnit(GetUnitsOfPlayerAll(ForcePickRandomPlayer(GetPlayersEnemies(Player(10))))).getPos())
 
        for unit enemy from GetUnitsOfPlayerAll(Player(8))
            enemy.issuePointOrder("attack", GroupPickRandomUnit(GetUnitsOfPlayerAll(ForcePickRandomPlayer(GetPlayersEnemies(Player(8))))).getPos())
 
        for unit enemy from GetUnitsOfPlayerAll(Player(9))
            enemy.issuePointOrder("attack", GroupPickRandomUnit(GetUnitsOfPlayerAll(ForcePickRandomPlayer(GetPlayersEnemies(Player(9))))).getPos())
 
        for unit enemy from GetUnitsOfPlayerAll(Player(11))
            enemy.issuePointOrder("attack", GroupPickRandomUnit(GetUnitsOfPlayerAll(ForcePickRandomPlayer(GetPlayersEnemies(Player(11))))).getPos())
 
 
 

goto line:
Compare with:
text copy window edit this code post new code