creating UMS AI: 'group attack'
submit to reddit

  • SCII editor won't let you create 'attack commands at the moment for groups. but I figured out how to trick it into doing so you have to use the string function and get your 'raw data' to look like this:

    UnitGroupIssueOrder(GROUP1, OrderTargetingPoint(AbilityCommand("attack", 0), PlayerStartLocation(gv_RANDOM)), c_orderQueueRepl
    ace)

    this will get all of GROUP1 to attack a random player where RANDOM is a randomised integer.
    hope this helps someone.
    the trick is to force it to use
    (AbilityCommand("attack", 0)
    which doesn't appear on the list of commands

    Sergeant
    avatar

New Reply

If you were logged in you would gain 3 XP for posting a reply.

Please respect our terms of use when participating in Nibbits.

Preview
Comment
We will show a masked version of your IP address as well as your name.

Support Nibbits by linking to us: