# Owner Of Unit

Grammar — Owner of u
FlagsNative | Function

Returns the owner of a unit.

# Arguments

  • unit — Unit

Returns — int

native int UnitGetOwner(unit inUnit);

Category: Unit / Basic

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:1801

    lv_scaledDistance = (lv_distanceBetweenPoints * gv_terraTronScale);
    lv_finalOffsetPoint = PointWithOffsetPolar(gv_terraTronPosition, lv_scaledDistance, lv_angleBetweenPoints);
    UnitCreate(1, "SS_TerraTronMissileLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), lv_finalOffsetPoint, (lp_facing - 90.0));
    libNtve_gf_AttachActorToUnit(gv_boss, "SS_TerraTronMissileLaunch", lp_launchAttachPoint);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2302

    lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
    lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_TerraTronBeamTarget", 0, UnitGetOwner(gv_boss), PointWithOffset(UnitGetPosition(gv_boss), -20.0, -20.0));
    lv_beamTarget = UnitLastCreated();
    UnitIssueOrder(gv_boss, OrderTargetingUnit(AbilityCommand("attack", 0), lv_beamTarget), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2329

    lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
    lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed * -1.0);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_TerraTronBeamTarget", 0, UnitGetOwner(gv_boss), PointWithOffset(UnitGetPosition(gv_boss), 20.0, -20.0));
    lv_beamTarget = UnitLastCreated();
    UnitIssueOrder(gv_boss, OrderTargetingUnit(AbilityCommand("attack", 0), lv_beamTarget), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2353

    Wait(1.0, c_timeGame);
    if ((UnitIsAlive(gv_missileSpinnerL) == false)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_TerraTronMissileSpinner", 0, UnitGetOwner(gv_boss), UnitGetPosition(gv_boss));
        gv_missileSpinnerL = UnitLastCreated();
        if ((gv_repeatTimes > 0)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2366

    }
    if ((UnitIsAlive(gv_missileSpinnerR) == false)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_TerraTronMissileSpinner", 0, UnitGetOwner(gv_boss), UnitGetPosition(gv_boss));
        gv_missileSpinnerR = UnitLastCreated();
        if ((gv_repeatTimes > 0)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5823

        for ( ; ( (auto724CBDA6_ai >= 0 && lv_i <= auto724CBDA6_ae) || (auto724CBDA6_ai <= 0 && lv_i >= auto724CBDA6_ae) ) ; lv_i += auto724CBDA6_ai ) {
            if ((UnitIsAlive(gv_missileSpinnerL) == true) && (lv_spinnerLHasDied == false)) {
                UnitCreate(1, "SS_TerraTronMissileSpinnerLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), UnitGetPosition(gv_missileSpinnerL), lv_facingL);
            }
            else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5829

            }
            if ((UnitIsAlive(gv_missileSpinnerR) == true) && (lv_spinnerRHasDied == false)) {
                UnitCreate(1, "SS_TerraTronMissileSpinnerLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), UnitGetPosition(gv_missileSpinnerR), lv_facingR);
            }
            else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5851

            for ( ; ( (autoF929C3E5_ai >= 0 && lv_k <= autoF929C3E5_ae) || (autoF929C3E5_ai <= 0 && lv_k >= autoF929C3E5_ae) ) ; lv_k += autoF929C3E5_ai ) {
                if ((UnitIsAlive(gv_missileSpinnerL) == true) && (lv_spinnerLHasDied == false)) {
                    UnitCreate(1, "SS_TerraTronMissileSpinnerLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), UnitGetPosition(gv_missileSpinnerL), lv_facingL);
                }
                else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5857

                }
                if ((UnitIsAlive(gv_missileSpinnerR) == true) && (lv_spinnerRHasDied == false)) {
                    UnitCreate(1, "SS_TerraTronMissileSpinnerLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), UnitGetPosition(gv_missileSpinnerR), lv_facingR);
                }
                else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7298

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p2_ENEMY))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1307

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p1_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1469

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p1_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1606

    auto5EE57277_val = UnitGetType(EventUnit());
    if (auto5EE57277_val == "PalletMinerals") {
        libCamp_gf_DestroyCacheAndGivePlayerResources(EventUnit(), c_playerPropMinerals, 100, UnitGetOwner(EventUnitTargetUnit()));
    }
    else if (auto5EE57277_val == "PalletGas") {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1609

    }
    else if (auto5EE57277_val == "PalletGas") {
        libCamp_gf_DestroyCacheAndGivePlayerResources(EventUnit(), c_playerPropVespene, 100, UnitGetOwner(EventUnitTargetUnit()));
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1846

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p1_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2558

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p4_COLONISTS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2668

    // Conditions
    if (testConds) {
        if (!(((UnitGetOwner(EventUnit()) == gv_p4_COLONISTS) || (UnitGetOwner(EventUnitTarget()) == gv_p4_COLONISTS)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2668

    // Conditions
    if (testConds) {
        if (!(((UnitGetOwner(EventUnit()) == gv_p4_COLONISTS) || (UnitGetOwner(EventUnitTarget()) == gv_p4_COLONISTS)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2718

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p1_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2750

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p1_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:280


    // Implementation
    lv_owner = UnitGetOwner(lp_u);
    lv_msg = StringExternal("Param/Value/1CC47A81");
    lv_msg = (lv_msg + StringExternal("Param/Value/0D9A275B") + IntToText(lv_owner) + StringExternal("Param/Value/FD0D998F"));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1871

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER_03_INFESTED_REFUGEES))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2130

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER_03_INFESTED_REFUGEES))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2213

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER_01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2386

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER_03_INFESTED_REFUGEES))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2671

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER_08_SWANN))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2848

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(libNtve_gf_KillingUnit()) != gv_pLAYER_01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4224

        }

        if (!((libNtve_gf_PlayerIsEnemy(UnitGetOwner(EventUnit()), gv_pLAYER_01_USER, libNtve_ge_PlayerRelation_Enemy) == true))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1268

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER04_PURIFIER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1364

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER04_PURIFIER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1474

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER04_PURIFIER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1588

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER04_PURIFIER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1695

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER04_PURIFIER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2314

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER06_TERRORFLEET))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2378

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER06_TERRORFLEET))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2442

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER06_TERRORFLEET))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2503

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER06_TERRORFLEET))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2553

        }

        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER06_TERRORFLEET))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:567

            lv_overlord = UnitGroupUnitFromEnd(auto6DAA3909_g, auto6DAA3909_u);
            if (lv_overlord == null) { break; }
            if ((UnitGetOwner(lv_overlord) == gv_p07_ZERG_INFESTED) && (libNtve_gf_UnitInRegion(lv_overlord, gv_infestationRegion[lp_colonyIndex]) == true) && (lv_defenderIndex < gv_infestationDefenderCount[lp_colonyIndex])) {
                lv_defenderIndex += 1;
                gf_CreateADefender(lv_overlord, lp_colonyIndex, lv_defenderIndex);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1382

    }

    libCamp_gf_DestroyCacheAndGivePlayerResources(EventUnit(), c_playerPropVespene, 100, UnitGetOwner(EventUnitTargetUnit()));
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1655

        }

        if (!(((UnitGetOwner(EventUnit()) == gv_p03_VIROPHAGE) || (UnitGetOwner(EventUnit()) == gv_p07_ZERG_INFESTED)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1655

        }

        if (!(((UnitGetOwner(EventUnit()) == gv_p03_VIROPHAGE) || (UnitGetOwner(EventUnit()) == gv_p07_ZERG_INFESTED)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2127

            auto97CB6B13_var = UnitGroupUnitFromEnd(auto97CB6B13_g, auto97CB6B13_u);
            if (auto97CB6B13_var == null) { break; }
            if ((UnitGetOwner(auto97CB6B13_var) != gv_p01_USER)) {
                MinimapPing(PlayerGroupAll(), UnitGetPosition(auto97CB6B13_var), 6.0, Color(100.00, 0.00, 0.00));
                UIAlertUnit("Trigger", gv_p01_USER, StringExternal("Param/Value/0BD8F63D"), null, auto97CB6B13_var);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2329

        }

        if (!((libNtve_gf_PlayerIsEnemy(UnitGetOwner(EventUnit()), gv_p01_USER, libNtve_ge_PlayerRelation_Enemy) == true))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2333

        }

        if (!((UnitFilterMatch(EventUnit(), UnitGetOwner(EventUnit()), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))) == false))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2433

        }

        if (!((PlayerGetAlliance(UnitGetOwner(EventUnit()), c_allianceIdPassive, gv_p01_USER) == false))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3393

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(libNtve_gf_KillingUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3397

        }

        if (!((libNtve_gf_PlayerIsEnemy(UnitGetOwner(EventUnit()), UnitGetOwner(libNtve_gf_KillingUnit()), libNtve_ge_PlayerRelation_Enemy) == true))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:426

    // Automatic Variable Declarations
    // Implementation
    if (((UnitIsAlive(lp_diamondback) == false) || (UnitGetOwner(lp_diamondback) != gv_pLAYER_05_ABANDONEDVEHICLES))) {
        return true;
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:436

    PingSetScale(PingLastCreated(), 0.75);
    PingSetTooltip(PingLastCreated(), StringExternal("Param/Value/EC45B863"));
    while (!(((UnitIsAlive(lp_diamondback) == false) || (UnitGetOwner(lp_diamondback) != gv_pLAYER_05_ABANDONEDVEHICLES)))) {
        Wait(1.0, c_timeGame);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2371

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER_06_TRAIN))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2488

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER_06_TRAIN))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3243

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnitTargetUnit()) == gv_pLAYER_01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:3320

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_pLAYER_01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4942

        }

        if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_02_DOMINION) || (UnitGetOwner(EventUnit()) == gv_pLAYER_03_DOMINION) || (UnitGetOwner(EventUnit()) == gv_pLAYER_04_DOMINION)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4942

        }

        if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_02_DOMINION) || (UnitGetOwner(EventUnit()) == gv_pLAYER_03_DOMINION) || (UnitGetOwner(EventUnit()) == gv_pLAYER_04_DOMINION)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4942

        }

        if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_02_DOMINION) || (UnitGetOwner(EventUnit()) == gv_pLAYER_03_DOMINION) || (UnitGetOwner(EventUnit()) == gv_pLAYER_04_DOMINION)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4956

    }

    AIToggleBulliesInRegion(UnitGetOwner(EventUnit()), RegionCircle(UnitGetPosition(EventUnit()), 8.0), false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1063

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p08_RAYNOR_COMP))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1155

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p08_RAYNOR_COMP))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1198

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1579

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p03_MIRA_HAN))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1618

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p02_ORLAN_ENEMY))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1676

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p02_ORLAN_ENEMY))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1728

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p02_ORLAN_ENEMY))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1784

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p02_ORLAN_ENEMY))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1888

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p06_JUNKERS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1935

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p06_JUNKERS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:823

        }

        if (!((UnitGetOwner(EventUnitTarget()) == gv_p03_DOMINION_WAREHOUSE))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:882

        }

        if (!(((UnitGetOwner(EventUnit()) == gv_p01_USER) || (UnitGetOwner(EventUnit()) == gv_p02_TYCHUS)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:882

        }

        if (!(((UnitGetOwner(EventUnit()) == gv_p01_USER) || (UnitGetOwner(EventUnit()) == gv_p02_TYCHUS)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:934

        }

        if (!((UnitGetOwner(EventUnitTarget()) == gv_p03_DOMINION_WAREHOUSE))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1738

            lv_chosenUnit = UnitGroupUnitFromEnd(auto1309F81D_g, auto1309F81D_u);
            if (lv_chosenUnit == null) { break; }
            if ((UnitGetOwner(lv_chosenUnit) != gv_p01_USER) && ((UnitGetType(lv_chosenUnit) == "Raven") || (UnitGetType(lv_chosenUnit) == "MissileTurret"))) {
                lv_detectorSpotted = true;
                lv_nearbyDetector = lv_chosenUnit;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1815

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2087

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p04_DOMINION_INFANTRY_A))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2222

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p02_TYCHUS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2335

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p08_DOMINION_INFANTRY_B))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2479

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p02_TYCHUS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1392

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p06_CIVILIANS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1934

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p06_CIVILIANS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1966

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p06_CIVILIANS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1998

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p06_CIVILIANS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2030

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p06_CIVILIANS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2061

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p06_CIVILIANS))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2169

    // Conditions
    if (testConds) {
        if (!(((UnitGetOwner(EventUnit()) == gv_p03_DOMINION_SIEGE) || (UnitGetOwner(EventUnit()) == gv_p04_DOMINION_AIR) || (UnitGetOwner(EventUnit()) == gv_p05_DOMINION_RAIDER)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2169

    // Conditions
    if (testConds) {
        if (!(((UnitGetOwner(EventUnit()) == gv_p03_DOMINION_SIEGE) || (UnitGetOwner(EventUnit()) == gv_p04_DOMINION_AIR) || (UnitGetOwner(EventUnit()) == gv_p05_DOMINION_RAIDER)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2169

    // Conditions
    if (testConds) {
        if (!(((UnitGetOwner(EventUnit()) == gv_p03_DOMINION_SIEGE) || (UnitGetOwner(EventUnit()) == gv_p04_DOMINION_AIR) || (UnitGetOwner(EventUnit()) == gv_p05_DOMINION_RAIDER)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2332

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p07_HORNERBASE))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2249

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2288

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2317

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2350

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2384

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2412

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2440

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2468

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2496

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3564

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p01_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:704

    // Conditions
    if (testConds) {
        if (!((UnitGetOwner(EventUnit()) == gv_p1_USER))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:818

        }

        if (!((UnitGetOwner(EventUnit()) == gv_p1_USER))) {
            return false;
        }