1. for unit enemy from GetUnitsOfPlayerAndTypeId( Player( PLAYER_NEUTRAL_AGGRESSIVE ), 'z000' )
  2. enemy.addEffect( "war3mapImported\\FirstAidBackpack_ByEpsilon.mdx", "chest" )
  3. for unit enemy from GetUnitsInRectOfPlayer( gg_rct_Cop_Move_Spawn, Player( PLAYER_NEUTRAL_AGGRESSIVE ))
  4. enemy.issuePointOrder( "attack", gg_rct_Attack_Move_Hostile_Reinforcements_Arrive.randomPoint())
  5. function noStuckAction()
  6. doAfter( 1, () - > begin
  7. GetEnteringUnit() .issuePointOrder( "attack", GroupPickRandomUnit( GetUnitsOfPlayerAll( ForcePickRandomPlayer( GetPlayersEnemies( Player( 10 ))))) .getPos())
  8. end )
  9. function callBack()
  10. for unit enemy from GetUnitsOfPlayerAll( Player( 10 ))
  11. enemy.issuePointOrder( "attack", GroupPickRandomUnit( GetUnitsOfPlayerAll( ForcePickRandomPlayer( GetPlayersEnemies( Player( 10 ))))) .getPos())
  12. for unit enemy from GetUnitsOfPlayerAll( Player( 8 ))
  13. enemy.issuePointOrder( "attack", GroupPickRandomUnit( GetUnitsOfPlayerAll( ForcePickRandomPlayer( GetPlayersEnemies( Player( 8 ))))) .getPos())
  14. for unit enemy from GetUnitsOfPlayerAll( Player( 9 ))
  15. enemy.issuePointOrder( "attack", GroupPickRandomUnit( GetUnitsOfPlayerAll( ForcePickRandomPlayer( GetPlayersEnemies( Player( 9 ))))) .getPos())
  16. for unit enemy from GetUnitsOfPlayerAll( Player( 11 ))
  17. enemy.issuePointOrder( "attack", GroupPickRandomUnit( GetUnitsOfPlayerAll( ForcePickRandomPlayer( GetPlayersEnemies( Player( 11 ))))) .getPos())

Diesen Code in Original-Formatierung anzeigen
goto line:
Compare with:
text copy window edit this code post new code