• 0

    posted a message on Ordering units as a group

    @Dystisis: Go

    What I am trying to do is make a 'squad' of units, that will all follow an order given to any of them so they act as a group and cannot be split from each other. A trigger that fires only from a specific leader unit would not work since if the leader dies you could no longer give any orders to the squad. Like I said, giving the whole unit an order isn't the problem, its that I need to stop the 'broadcasted' order from firing the trigger again. Only orders given directly by the player should fire, and not orders distributed through the trigger, but I can't find a way to differentiate them.

    Edit: Somehow the event "Any Unit is issued an order to Any Ability Command" is triggered by "Order all units in Group" but not by "Pick each unit in Group and do Order"

    Posted in: Galaxy Scripting
  • 0

    posted a message on Ordering units as a group

    Is there a way to have a unit group all follow the order that a member of the group has received? Making a trigger than fires on an order given to a unit and orders the unit group is easy, but ordering the group would set off the trigger again and the group would repeat the order to each other in a loop until sc2 gives and order. Turning the trigger off before giving the order to the unit group doesn't seem to help.

    Posted in: Galaxy Scripting
  • To post a comment, please or register a new account.