Actions:
If
Owner of triggering unit = 14
Then
Order triggering unit to attack targeting Wave Attack Point
Else
What I'm trying to do is to add an event in the THEN slot that will add the units into a unit group, but when I try add the units, no variable for a unit group appears. I already have a pre-made unit group, but it doesn't show up.
Variables: Unitgroup = (empty unit group) <unit group>
Actions: Unit group- add all units in (Region 1) to Unitgroup
unit - order all units in Unitgroup (attack point) (replace existing orders)
Where region 1 is a region that is the map size (i believe you can just set the region as "map")
and point is the point you want to order the unit group to attack (or other order)
I have a script that looks like this:
Events: Any Unit Enters the Map
Condition:
Actions: If Owner of triggering unit = 14 Then Order triggering unit to attack targeting Wave Attack Point Else
What I'm trying to do is to add an event in the THEN slot that will add the units into a unit group, but when I try add the units, no variable for a unit group appears. I already have a pre-made unit group, but it doesn't show up.
Nevermind, I solved it by myself. It seemed that I had to make my own variable.
@Skitto: Go
@Skitto: Go Try Event: any unit enters map
Variables: Unitgroup = (empty unit group) <unit group>
Actions: Unit group- add all units in (Region 1) to Unitgroup
unit - order all units in Unitgroup (attack point) (replace existing orders)
Where region 1 is a region that is the map size (i believe you can just set the region as "map") and point is the point you want to order the unit group to attack (or other order)
ignore this, my post was double sent for some bizarre reason.