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

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