1. GroupEnumUnitsOfPlayer(ENUM_GROUP,players[10],Filter(() -> begin
  2. int randomInt = GetRandomInt(0,8)
  3. if randomInt == 8
  4. randomInt = PLAYER_NEUTRAL_AGGRESSIVE
  5. GroupEnumUnitsOfPlayer(ENUM_GROUP,players[randomInt], Filter(() -> GetFilterUnit().isAlive() ))
  6. GetFilterUnit().issuePointOrder("attack", GroupPickRandomUnit(ENUM_GROUP).getPos())
  7. ENUM_GROUP.clear()
  8. end))

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