• 0

    posted a message on i got an idea but i can't get this done

    ty guys now my map is almost ready, its all becuz of your help

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on i got an idea but i can't get this done

    shit im stupid, I'm done it with prevent death behavior, iv just added set of effect that adds behavior that actually disables ability to unburrow and weapons so turret can't even detect anyone

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on [Data] - Weekly Ability (Fire Wave)

    Very Nice, ty

    Posted in: Tutorials
  • 0

    posted a message on i got an idea but i can't get this done

    i don't know how to get this done with this buff =(

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on HotS Merchenaries Camp Capture Event
    Quote from MaskedImposter: Go

    Happened to be looking at the Tychus03 map yesterday and saw that when kerrigan was "searching" a building they would just apply a behavior to her, that show'd a timed status bar of her search progress. They would create the duration of that behavior through triggers. I think it was like "set behavior duration". You could keep duration information in variables.

    Though after reading the replies, sounds like you might want something more advanced.

    sounds nice, but can u show me an example .sc2map? =) i don't speak english well and I'm not that friendly with sc2mapeditor, just started working with it, but i spend alot of time making my map with pen and a notepad, i hope i can improve my editor skills high enough to release all ideas i got in my notepad to the game, thats why I'm asking so much question on forum last weeks

    btw Beta version of my game will be ready in like a few weeks, it won't be half a content but playable enough, its 6 vs 6 i hope some of u guys will play it with me cuz i don't have eny friends who plays sc2 actually

    Posted in: Heroes of the Storm
  • 0

    posted a message on HotS Merchenaries Camp Capture Event

    i found a mistake lol i update current value only if something happens, so from beginning dialog bar is not updated

    Posted in: Heroes of the Storm
  • 0

    posted a message on HotS Merchenaries Camp Capture Event
        Events
            TriggerAddEventTimePeriodic(1.0, c_timeGame)
        Local Variables
        Conditions
        Actions
        Events
            TriggerAddEventTimePeriodic(1.0, c_timeGame)
        Local Variables
        Conditions
        Actions
                PickEachUnitInGroup((UnitGroup(null, c_playerAny, SOUTH-WEST BEACON, Excluded: Missile, Dead, Hidden, 0)))
                actions
                    IfThenElse()
                        if
                            Comparison((PlayerGroupHasPlayer(rEDTEAM, (UnitGetOwner((UnitGroupLoopCurrent()))))), ==, true)
                        then
                            SetVariable(sOUTWESTREDTEAM, true)
                        else
                            IfThenElse()
                                if
                                    Comparison((PlayerGroupHasPlayer(gREENTEAM, (UnitGetOwner((UnitGroupLoopCurrent()))))), ==, true)
                                then
                                    SetVariable(sOUTWESTGREENTEAM, true)
                                else
            IfThenElse()
                if
                    And()
                        cond
                            Comparison(sOUTHWESTREDTEAM, ==, true)
                            Comparison(sOUTHWESTGREENTEAM, ==, false)
                then
                    IncrementReal(sOUTHWESTCURRENTVALUE, +, 1.0)
                    SetDialogItemCurrentValue(sOUTHWESTPROGRESSBAR, sOUTHWESTCURRENTVALUE, (PlayerGroupAll()))
                else
            IfThenElse()
                if
                    And()
                        cond
                            Comparison(sOUTHWESTREDTEAM, ==, false)
                            Comparison(sOUTHWESTGREENTEAM, ==, true)
                then
                    IncrementReal(sOUTHWESTCURRENTVALUE, -, 1.0)
                    SetDialogItemCurrentValue(sOUTHWESTPROGRESSBAR, sOUTHWESTCURRENTVALUE, (PlayerGroupAll()))
                else
    
    variables         NORTH WEST CURRENT VALUE = 6.0 <Real>
            NORTH WEST GREEN TEAM = False <Boolean>
            NORTH WEST RED TEAM = False <Boolean>
    

    whys not working?

    Posted in: Heroes of the Storm
  • 0

    posted a message on i got an idea but i can't get this done

    @MaskedImposter: Go

    thx alot man

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on i got an idea but i can't get this done

    show me eny example of how i can get this done please

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on How to split one unit group into two?
    Heres Variables i use 
    
    
            NORTH-EAST GROUP = (Empty unit group) <Unit Group>
    
            SOUTH-WEST GROUP = (Empty unit group) <Unit Group>
    
            NORTH GROUP = (Empty unit group) <Unit Group>
    
            SOUTH GROUP = (Empty unit group) <Unit Group>
    
            NORTH-WEST GROUP = (Empty unit group) <Unit Group>
    
            SOUTH-EAST GROUP = (Empty unit group) <Unit Group>
    
            CENTRAL GROUP = (Empty unit group) <Unit Group>
    
             SE>S GROUP = (Empty unit group) <Unit Group>
    
             S>SE GROUP = (Empty unit group) <Unit Group>
    
             S>SW GROUP = (Empty unit group) <Unit Group>
    
             SW>S GROUP = (Empty unit group) <Unit Group>
    
             SW>C GROUP = (Empty unit group) <Unit Group>
    
             C>SW GROUP = (Empty unit group) <Unit Group>
    
             C>NE GROUP = (Empty unit group) <Unit Group>
    
             NE>C GROUP = (Empty unit group) <Unit Group>
    
             NE>N GROUP = (Empty unit group) <Unit Group>
    
             N>NW GROUP = (Empty unit group) <Unit Group>
    
             N>NE GROUP = (Empty unit group) <Unit Group>
    
             NW>N GROUP = (Empty unit group) <Unit Group>
    

    Oh and all of this Outposts its just invurable buildings i use to check who owns camp, positions of them u can get from name of variables

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on How to split one unit group into two?

    damn perfect, I made order system for my map, it take 7 positions nw n ne c sw s se (u can put them in a line, its actually a linear build) and order units to attack other camps on positions, p13 and p14 are players from different teams, so if you capture one camp my order system check how many fronts u got, and theres possibly 1 or 2 front, and then it sends groups to next uncaptured position, well i explained how it works, but on practice is pretty shitty made by me cuz I'm not that good with computer science like u Ultragon, but I think I'm good at making table games, mb someone can use my idea to get better made of this lol, but it works perfect to me anyway "ur split function made it possible" =)

    ATTACKORDERS
        Events
            TriggerAddEventTimePeriodic(60.0, c_timeGame)
        Local Variables
            boolean = true <bool>
        Conditions
        Actions
            ------- TROOPER OUTPOSTS
            ------- NORTH-WEST
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), ==, 13)
                then
                    UnitGroupAddUnitGroup(nWNGROUP, nORTHWESTGROUP)
                    UnitGroupIssueOrder(nWNGROUP, (OrderTargetingPoint("attack", 0, NORTH MEDIC RALLY)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), ==, 14)
                then
                    UnitGroupAddUnitGroup(nWNGROUP, nORTHWESTGROUP)
                    UnitGroupIssueOrder(nWNGROUP, (OrderTargetingPoint("attack", 0, NORTH MEDIC RALLY)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            ------- SOUTH-EAST
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), ==, 13)
                then
                    UnitGroupAddUnitGroup(sESGROUP, sOUTHEASTGROUP)
                    UnitGroupIssueOrder(sESGROUP, (OrderTargetingPoint("attack", 0, SOUTH Medic Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHEASTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), ==, 14)
                then
                    UnitGroupAddUnitGroup(sESGROUP, sOUTHEASTGROUP)
                    UnitGroupIssueOrder(sESGROUP, (OrderTargetingPoint("attack", 0, SOUTH Medic Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHEASTGROUP, (UnitGroupLoopCurrent()))
                else
            ------- MEDIC OUTPOSTS
            ------- SOUTH
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 14)
                then
                    UnitGroupAddUnitGroup(sSEGROUP, sOUTHGROUP)
                    UnitGroupIssueOrder(sSEGROUP, (OrderTargetingPoint("attack", 0, SOUTH-EAST Trooper Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 13)
                then
                    UnitGroupAddUnitGroup(sSEGROUP, sOUTHGROUP)
                    UnitGroupIssueOrder(sSEGROUP, (OrderTargetingPoint("attack", 0, SOUTH-EAST Trooper Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), ==, 14)
                then
                    UnitGroupAddUnitGroup(sSWGROUP, sOUTHWESTGROUP)
                    UnitGroupIssueOrder(sSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), ==, 13)
                then
                    UnitGroupAddUnitGroup(sSWGROUP, sOUTHWESTGROUP)
                    UnitGroupIssueOrder(sSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), !=, 13)
                then
                    PickEachUnitInGroup(sOUTHGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(sSEGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(sSEGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(sOUTHGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(sSWGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(sSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-EAST Trooper Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(sOUTHGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), !=, 14)
                then
                    PickEachUnitInGroup(sOUTHGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(sSEGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(sSEGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(sOUTHGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(sSWGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(sSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-EAST Trooper Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(sOUTHGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 14)
                then
                    UnitGroupAddUnitGroup(sSWGROUP, sOUTHGROUP)
                    UnitGroupIssueOrder(sSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 13)
                then
                    UnitGroupAddUnitGroup(sSWGROUP, sOUTHGROUP)
                    UnitGroupIssueOrder(sSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHGROUP, (UnitGroupLoopCurrent()))
                else
            ------- NORTH
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                then
                    UnitGroupAddUnitGroup(nNWGROUP, nORTHGROUP)
                    UnitGroupIssueOrder(nNWGROUP, (OrderTargetingPoint("attack", 0, NORTH-WEST Trooper Outpost Rally)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                then
                    UnitGroupAddUnitGroup(nNWGROUP, nORTHGROUP)
                    UnitGroupIssueOrder(nNWGROUP, (OrderTargetingPoint("attack", 0, NORTH-WEST Trooper Outpost Rally)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), !=, 13)
                then
                    PickEachUnitInGroup(nORTHGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(nNEGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(nORTHGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(nNWGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nNWGROUP, (OrderTargetingPoint("attack", 0, NORTH-WEST Trooper Outpost Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(nORTHGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), !=, 14)
                then
                    PickEachUnitInGroup(nORTHEASTGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(nNEGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(nNWGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nNWGROUP, (OrderTargetingPoint("attack", 0, NORTH-WEST Trooper Outpost Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), !=, 14)
                then
                    UnitGroupAddUnitGroup(nNEGROUP, nORTHGROUP)
                    UnitGroupIssueOrder(nNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), !=, 13)
                then
                    UnitGroupAddUnitGroup(nNEGROUP, nORTHGROUP)
                    UnitGroupIssueOrder(nNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                then
                    UnitGroupAddUnitGroup(nNEGROUP, nORTHGROUP)
                    UnitGroupIssueOrder(nNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                then
                    UnitGroupAddUnitGroup(nNEGROUP, nORTHGROUP)
                    UnitGroupIssueOrder(nNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHGROUP, (UnitGroupLoopCurrent()))
                else
            ------- RANGER OUTPOSTS
            ------- SOUTH-WEST
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                then
                    UnitGroupAddUnitGroup(sWCGROUP, sOUTHWESTGROUP)
                    UnitGroupIssueOrder(sWCGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                then
                    UnitGroupAddUnitGroup(sWCGROUP, sOUTHWESTGROUP)
                    UnitGroupIssueOrder(sWCGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), !=, 14)
                then
                    UnitGroupAddUnitGroup(sWSGROUP, sOUTHWESTGROUP)
                    UnitGroupIssueOrder(sWSGROUP, (OrderTargetingPoint("attack", 0, SOUTH Medic Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), !=, 13)
                then
                    UnitGroupAddUnitGroup(sWSGROUP, sOUTHWESTGROUP)
                    UnitGroupIssueOrder(sWSGROUP, (OrderTargetingPoint("attack", 0, SOUTH Medic Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), !=, 13)
                then
                    PickEachUnitInGroup(sOUTHWESTGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(sWCGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nECGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(sWSGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nENGROUP, (OrderTargetingPoint("attack", 0, SOUTH Medic Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), !=, 14)
                then
                    PickEachUnitInGroup(sOUTHWESTGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(sWCGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nECGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(sWSGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nENGROUP, (OrderTargetingPoint("attack", 0, SOUTH Medic Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                then
                    UnitGroupAddUnitGroup(sWSGROUP, sOUTHWESTGROUP)
                    UnitGroupIssueOrder(sWSGROUP, (OrderTargetingPoint("attack", 0, SOUTH Medic Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                then
                    UnitGroupAddUnitGroup(sWSGROUP, sOUTHWESTGROUP)
                    UnitGroupIssueOrder(sWSGROUP, (OrderTargetingPoint("attack", 0, SOUTH Medic Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                then
                    UnitGroupAddUnitGroup(sWCGROUP, sOUTHWESTGROUP)
                    UnitGroupIssueOrder(sWCGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [46.50, 39.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                then
                    UnitGroupAddUnitGroup(sWCGROUP, sOUTHWESTGROUP)
                    UnitGroupIssueOrder(sWCGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                    UnitGroupRemove(sOUTHWESTGROUP, (UnitGroupLoopCurrent()))
                else
            ------- NORTH-EAST
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 14)
                then
                    UnitGroupAddUnitGroup(nECGROUP, nORTHEASTGROUP)
                    UnitGroupIssueOrder(nECGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 13)
                then
                    UnitGroupAddUnitGroup(nECGROUP, nORTHEASTGROUP)
                    UnitGroupIssueOrder(nECGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), !=, 14)
                then
                    UnitGroupAddUnitGroup(nENGROUP, nORTHEASTGROUP)
                    UnitGroupIssueOrder(nENGROUP, (OrderTargetingPoint("attack", 0, NORTH MEDIC RALLY)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), !=, 13)
                then
                    UnitGroupAddUnitGroup(nENGROUP, nORTHEASTGROUP)
                    UnitGroupIssueOrder(nENGROUP, (OrderTargetingPoint("attack", 0, NORTH MEDIC RALLY)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), !=, 13)
                then
                    PickEachUnitInGroup(nORTHEASTGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(nECGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nECGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(nENGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nENGROUP, (OrderTargetingPoint("attack", 0, NORTH MEDIC RALLY)), c_orderQueueReplace)
                                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), !=, 14)
                then
                    PickEachUnitInGroup(nORTHEASTGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(nECGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nECGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(nENGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(nENGROUP, (OrderTargetingPoint("attack", 0, NORTH MEDIC RALLY)), c_orderQueueReplace)
                                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                then
                    UnitGroupAddUnitGroup(nENGROUP, nORTHEASTGROUP)
                    UnitGroupIssueOrder(nENGROUP, (OrderTargetingPoint("attack", 0, NORTH MEDIC RALLY)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                then
                    UnitGroupAddUnitGroup(nENGROUP, nORTHEASTGROUP)
                    UnitGroupIssueOrder(nENGROUP, (OrderTargetingPoint("attack", 0, NORTH MEDIC RALLY)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                then
                    UnitGroupAddUnitGroup(nECGROUP, nORTHEASTGROUP)
                    UnitGroupIssueOrder(nNWGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [111.50, 210.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                then
                    UnitGroupAddUnitGroup(nECGROUP, nORTHEASTGROUP)
                    UnitGroupIssueOrder(nNWGROUP, (OrderTargetingPoint("attack", 0, CENTRAL Frontier Rally)), c_orderQueueReplace)
                    UnitGroupRemove(nORTHEASTGROUP, (UnitGroupLoopCurrent()))
                else
            ------- CENTRAL
            ------- FRONTIER OUTPOSTS
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 14)
                then
                    UnitGroupAddUnitGroup(cNEGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 13)
                then
                    UnitGroupAddUnitGroup(cNEGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), !=, 14)
                then
                    UnitGroupAddUnitGroup(cSWGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), !=, 13)
                then
                    UnitGroupAddUnitGroup(cSWGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), !=, 13)
                then
                    PickEachUnitInGroup(cENTRALGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(cSWGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(cSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(cNEGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(cNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), !=, 14)
                then
                    PickEachUnitInGroup(cENTRALGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(cSWGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(cSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(cNEGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(cNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [100.50, 204.50])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                then
                    UnitGroupAddUnitGroup(cNEGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [100.50, 204.50])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                then
                    UnitGroupAddUnitGroup(cNEGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [100.50, 204.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), !=, 14)
                then
                    UnitGroupAddUnitGroup(cSWGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [100.50, 204.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), !=, 13)
                then
                    UnitGroupAddUnitGroup(cSWGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [100.50, 204.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                then
                    UnitGroupAddUnitGroup(cNEGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [100.50, 204.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                then
                    UnitGroupAddUnitGroup(cNEGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [100.50, 204.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                then
                    UnitGroupAddUnitGroup(cSWGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [100.50, 204.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                then
                    UnitGroupAddUnitGroup(cSWGROUP, cENTRALGROUP)
                    UnitGroupIssueOrder(cSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), !=, 13)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [100.50, 204.50])), ==, 13)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 13)
                then
                    PickEachUnitInGroup(cENTRALGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(cSWGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(cSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(cNEGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(cNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
            IfThenElse()
                if
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [49.50, 203.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Trooper Outpost [207.50, 37.00])), !=, 14)
                    Comparison((UnitGetOwner((UNIT) Frontier Outpost [128.00, 128.00])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [213.50, 203.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Ranger Outpost [47.50, 51.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [100.50, 204.50])), ==, 14)
                    Comparison((UnitGetOwner((UNIT) Field Medic Outpost [144.50, 29.50])), ==, 14)
                then
                    PickEachUnitInGroup(cENTRALGROUP)
                        actions
                            IfThenElse()
                                if
                                    Comparison(boolean, ==, true)
                                then
                                    UnitGroupAdd(cSWGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(cSWGROUP, (OrderTargetingPoint("attack", 0, SOUTH-WEST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                                else
                                    UnitGroupAdd(cNEGROUP, (UnitGroupLoopCurrent()))
                                    UnitGroupIssueOrder(cNEGROUP, (OrderTargetingPoint("attack", 0, NORTH-EAST Ranger Rally)), c_orderQueueReplace)
                                    UnitGroupRemove(cENTRALGROUP, (UnitGroupLoopCurrent()))
                            SetVariable(boolean, (AndOrMult2(boolean)))
                else
    

    thing is its alot of code to make line of 7 positions, if u add more positions like i did in here u will spend a ten thousand years to make biggest line, i don't know how to make an universal way to order this camps with more positions, good that i don't need it for my mod lol

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on How to split one unit group into two?

    thx man that helped me alot

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on How to split one unit group into two?
    Quote from Forge_User_33159862: Go

    Splitting them by unit type would be rather complicated, but splitting them just so both unit groups have equal units shouldnt be that hard. Do you depend on both unit groups having equal amounts of marines medics?

    well if theres no easy ways to equal each types, np, can u show me how to equal amounts?

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on How to split one unit group into two?
    Quote from MaskedImposter: Go

    There's a unit closest to point function, and it specifically asks for a unit group. Perhaps you could use that.

    but i don't know witch unit will be closest, mb i don't understand something? i need to split groups in a order of a type and count them all be4 split as i said be4

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on HotS Merchenaries Camp Capture Event

    Very impressive structure Ultragon

    Posted in: Heroes of the Storm
  • To post a comment, please or register a new account.