# Actor Scope From Unit

Grammar — Actor scope for unit
FlagsNative | Function

Returns a unit’s actor scope.

# Arguments

  • unit — Unit

Returns — actorscope

native actorscope ActorScopeFromUnit(unit u);

Category: Actor / Utility

# Examples

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

    libNtve_gf_CreateUnitsAtPoint2(1, "SS_Leviathan", 0, gv_p0_NEUTRAL, lv_spawnLoc);
    gv_boss = UnitLastCreated();
    ActorScopeSend(ActorScopeFromUnit(gv_boss), "AnimPlay Birth Birth 0 0.000000");
    if ((gv_repeatTimes > 0)) {
        UnitBehaviorAdd(gv_boss, "SS_StrongerEnemyBuff", gv_boss, gv_repeatTimes);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4292

    UnitGroupLoopBegin(UnitGroup("Marine", gv_p02_SIMULATOR, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    while (!UnitGroupLoopDone()) {
        libNtve_gf_KillModel(ActorFromScope(ActorScopeFromUnit(UnitGroupLoopCurrent()), "ModelHosted"));
        UnitGroupLoopStep();
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:6712

    UnitGroupLoopBegin(UnitGroup("MineralField", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    while (!UnitGroupLoopDone()) {
        libNtve_gf_KillModel(ActorFromScope(ActorScopeFromUnit(UnitGroupLoopCurrent()), "ModelHosted"));
        UnitGroupLoopStep();
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:7117

    UnitGroupLoopBegin(UnitGroup("VespeneGeyser", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    while (!UnitGroupLoopDone()) {
        libNtve_gf_KillModel(ActorFromScope(ActorScopeFromUnit(UnitGroupLoopCurrent()), "ModelHosted"));
        UnitGroupLoopStep();
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:4833

    Wait(0.1, c_timeReal);
    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(242), 7.0, -1, 10, true);
    ActorCreate(ActorScopeFromUnit(UnitFromId(154)), "WaterSplash", null, null, null);
    ActorCreate(ActorScopeFromUnit(UnitFromId(455)), "WaterSplash", null, null, null);
    SoundPlay(SoundLink("Colossus_Ready", 0), PlayerGroupAll(), 100.0, 0.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:4834

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(242), 7.0, -1, 10, true);
    ActorCreate(ActorScopeFromUnit(UnitFromId(154)), "WaterSplash", null, null, null);
    ActorCreate(ActorScopeFromUnit(UnitFromId(455)), "WaterSplash", null, null, null);
    SoundPlay(SoundLink("Colossus_Ready", 0), PlayerGroupAll(), 100.0, 0.0);
    Wait(5.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:4844

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(529), 8.0, -1, 10, true);
    Wait(8.0, c_timeGame);
    ActorCreate(ActorScopeFromUnit(UnitFromId(154)), "WaterDrops", null, null, null);
    ActorCreate(ActorScopeFromUnit(UnitFromId(455)), "WaterDrops", null, null, null);
    TriggerExecute(gt_MidCineZergActions, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:4845

    Wait(8.0, c_timeGame);
    ActorCreate(ActorScopeFromUnit(UnitFromId(154)), "WaterDrops", null, null, null);
    ActorCreate(ActorScopeFromUnit(UnitFromId(455)), "WaterDrops", null, null, null);
    TriggerExecute(gt_MidCineZergActions, true, false);
    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(191), 0.0, -1, 10, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:5217

    libNtve_gf_CreateUnitsAtPoint2(1, "SS_Leviathan", 0, gv_p0_NEUTRAL, lv_spawnLoc);
    gv_boss = UnitLastCreated();
    ActorScopeSend(ActorScopeFromUnit(gv_boss), "AnimPlay Birth Birth 0 0.000000");
    if ((gv_repeatTimes > 0)) {
        UnitBehaviorAdd(gv_boss, "SS_StrongerEnemyBuff", gv_boss, gv_repeatTimes);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:4292

    UnitGroupLoopBegin(UnitGroup("Marine", gv_p02_SIMULATOR, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    while (!UnitGroupLoopDone()) {
        libNtve_gf_KillModel(ActorFromScope(ActorScopeFromUnit(UnitGroupLoopCurrent()), "ModelHosted"));
        UnitGroupLoopStep();
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:6712

    UnitGroupLoopBegin(UnitGroup("MineralField", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    while (!UnitGroupLoopDone()) {
        libNtve_gf_KillModel(ActorFromScope(ActorScopeFromUnit(UnitGroupLoopCurrent()), "ModelHosted"));
        UnitGroupLoopStep();
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:7117

    UnitGroupLoopBegin(UnitGroup("VespeneGeyser", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    while (!UnitGroupLoopDone()) {
        libNtve_gf_KillModel(ActorFromScope(ActorScopeFromUnit(UnitGroupLoopCurrent()), "ModelHosted"));
        UnitGroupLoopStep();
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:4833

    Wait(0.1, c_timeReal);
    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(242), 7.0, -1, 10, true);
    ActorCreate(ActorScopeFromUnit(UnitFromId(154)), "WaterSplash", null, null, null);
    ActorCreate(ActorScopeFromUnit(UnitFromId(455)), "WaterSplash", null, null, null);
    SoundPlay(SoundLink("Colossus_Ready", 0), PlayerGroupAll(), 100.0, 0.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:4834

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(242), 7.0, -1, 10, true);
    ActorCreate(ActorScopeFromUnit(UnitFromId(154)), "WaterSplash", null, null, null);
    ActorCreate(ActorScopeFromUnit(UnitFromId(455)), "WaterSplash", null, null, null);
    SoundPlay(SoundLink("Colossus_Ready", 0), PlayerGroupAll(), 100.0, 0.0);
    Wait(5.0, c_timeGame);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:4844

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(529), 8.0, -1, 10, true);
    Wait(8.0, c_timeGame);
    ActorCreate(ActorScopeFromUnit(UnitFromId(154)), "WaterDrops", null, null, null);
    ActorCreate(ActorScopeFromUnit(UnitFromId(455)), "WaterDrops", null, null, null);
    TriggerExecute(gt_MidCineZergActions, true, false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:4845

    Wait(8.0, c_timeGame);
    ActorCreate(ActorScopeFromUnit(UnitFromId(154)), "WaterDrops", null, null, null);
    ActorCreate(ActorScopeFromUnit(UnitFromId(455)), "WaterDrops", null, null, null);
    TriggerExecute(gt_MidCineZergActions, true, false);
    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(191), 0.0, -1, 10, true);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:2898

    }

    ActorScopeSend(ActorScopeFromUnit(gv_psiDestroyer), "Signal StopSound");
    gv_psiFieldSoundRegion = RegionEmpty();
    Wait(0.0625, c_timeGame);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:2902

    Wait(0.0625, c_timeGame);
    gv_psiFieldSoundRegion = RegionCircle(UnitGetPosition(gv_psiDestroyer), gv_psifieldradius);
    ActorRegionCreate(ActorScopeFromUnit(gv_psiDestroyer), "PsiDecimatorDomeRegion", gv_psiFieldSoundRegion);
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2mapMapScript.galaxy:2898

    }

    ActorScopeSend(ActorScopeFromUnit(gv_psiDestroyer), "Signal StopSound");
    gv_psiFieldSoundRegion = RegionEmpty();
    Wait(0.0625, c_timeGame);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2mapMapScript.galaxy:2902

    Wait(0.0625, c_timeGame);
    gv_psiFieldSoundRegion = RegionCircle(UnitGetPosition(gv_psiDestroyer), gv_psifieldradius);
    ActorRegionCreate(ActorScopeFromUnit(gv_psiDestroyer), "PsiDecimatorDomeRegion", gv_psiFieldSoundRegion);
    return true;
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8939

        libNtve_gf_TurnAnimationPropertiesOn(libNtve_gf_MainActorofUnit(UnitLastCreated()), "Unpowered");
        libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimBlendTimeApply");
        ActorSend(ActorFromScope(ActorScopeFromUnit(libSwaC_gv_zS_ArmyCustomEvolutionUnitA), "::Scene"), "SceneStrobeSetFalloff 2.000000");
    }
    else {

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8964

        libNtve_gf_TurnAnimationPropertiesOn(libNtve_gf_MainActorofUnit(UnitLastCreated()), "Unpowered");
        libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimBlendTimeApply");
        ActorSend(ActorFromScope(ActorScopeFromUnit(libSwaC_gv_zS_ArmyCustomEvolutionUnitB), "::Scene"), "SceneStrobeSetFalloff 2.000000");
    }
    else {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:4792

    TriggerEnable(gt_S2HallBeaconReached, true);
    libNtve_gf_ShowHideUnit(UnitFromId(1326), true);
    ActorScopeSend(ActorScopeFromUnit(UnitFromId(1326)), "AnimPlay Birth Birth");
    TriggerExecute(gt_S2HallDefenseFinishedQ, true, false);
    return true;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:6568

    Wait(0.5, c_timeGame);
    libNtve_gf_ShowHideUnit(UnitFromId(423), true);
    ActorScopeSend(ActorScopeFromUnit(UnitFromId(423)), "AnimPlay Birth Birth");
    TriggerEnable(gt_S3HallReached, true);
    TriggerQueueEnter();

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2mapMapScript.galaxy:4792

    TriggerEnable(gt_S2HallBeaconReached, true);
    libNtve_gf_ShowHideUnit(UnitFromId(1326), true);
    ActorScopeSend(ActorScopeFromUnit(UnitFromId(1326)), "AnimPlay Birth Birth");
    TriggerExecute(gt_S2HallDefenseFinishedQ, true, false);
    return true;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2mapMapScript.galaxy:6568

    Wait(0.5, c_timeGame);
    libNtve_gf_ShowHideUnit(UnitFromId(423), true);
    ActorScopeSend(ActorScopeFromUnit(UnitFromId(423)), "AnimPlay Birth Birth");
    TriggerEnable(gt_S3HallReached, true);
    TriggerQueueEnter();

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:285


    // Implementation
    lv_scope = ActorScopeFromUnit(lp_unit);
    ActorCreate(lv_scope, "SiteHosted", lp_attachPoint, "", "");
    lv_a = libNtve_gf_ActorLastCreated();

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:302


    // Implementation
    lv_scope = ActorScopeFromUnit(lp_unit);
    ActorCreate(lv_scope, "SiteHosted", lp_attachPoint, "", "");
    lv_a = libNtve_gf_ActorLastCreated();

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:360


    // Implementation
    lv_scope = ActorScopeFromUnit(lp_unit);
    ActorCreate(lv_scope, "SiteHosted", lp_attachPoint, "", "");
    lv_a = libNtve_gf_ActorLastCreated();

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:1227

    // Automatic Variable Declarations
    // Implementation
    ActorCreate(ActorScopeFromUnit(lp_lookAtTargetUnit), "SiteHosted", lp_attachPoint, "", "");
    libNtve_gf_SimpleLookAtStart(lp_unit, lp_type, libNtve_gf_ActorLastCreated());
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:1240

    // Automatic Variable Declarations
    // Implementation
    return ActorFromScope(ActorScopeFromUnit(lp_unit), "::Main");
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:161


    // Implementation
    lv_scope = ActorScopeFromUnit(lp_unit);
    ActorCreate(lv_scope, "SiteHosted", lp_attachPoint, "", "");
    lv_a = libNtve_gf_ActorLastCreated();

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:178


    // Implementation
    lv_scope = ActorScopeFromUnit(lp_unit);
    ActorCreate(lv_scope, "SiteHosted", lp_attachPoint, "", "");
    lv_a = libNtve_gf_ActorLastCreated();

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:236


    // Implementation
    lv_scope = ActorScopeFromUnit(lp_unit);
    ActorCreate(lv_scope, "SiteHosted", lp_attachPoint, "", "");
    lv_a = libNtve_gf_ActorLastCreated();

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1123

    // Automatic Variable Declarations
    // Implementation
    ActorCreate(ActorScopeFromUnit(lp_lookAtTargetUnit), "SiteHosted", lp_attachPoint, "", "");
    libNtve_gf_SimpleLookAtStart(lp_unit, lp_type, libNtve_gf_ActorLastCreated());
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1136

    // Automatic Variable Declarations
    // Implementation
    return ActorFromScope(ActorScopeFromUnit(lp_unit), "::Main");
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:1127

        if (lv_itBuilding == null) { break; }
        gv_buildingScopesCount += 1;
        gv_buildingScopes[gv_buildingScopesCount] = ActorScopeFromUnit(lv_itBuilding);
    }
    TriggerExecute(libGame_gt_InitializeTownSystem, true, true);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:1127

        if (lv_itBuilding == null) { break; }
        gv_buildingScopesCount += 1;
        gv_buildingScopes[gv_buildingScopesCount] = ActorScopeFromUnit(lv_itBuilding);
    }
    TriggerExecute(libGame_gt_InitializeTownSystem, true, true);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10628

    StatEventAddDataString(StatEventLastCreated(), "Hero", (libGame_gv_players[lp_heroIndex].lv_heroData.lv_unitType));
    StatEventSend(StatEventLastCreated());
    ActorScopeSend(ActorScopeFromUnit(libGame_gv_players[lp_player].lv_heroUnit), "StatusIncrement PreventDestroyOnDeath");
    if ((libGame_gv_heroDeath_RespawnMounted == true) && (libGame_gv_players[lp_player].lv_disableMount == false)) {
        libGame_gf_SendEventHeroSpecialCaseMounting(lp_player);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:17437

    if ((PlayerHasTalent(lv_deadPlayer, "UtherMasteryRedemption") == true) && (((UnitBehaviorDuration(lv_deadUnit, "RedemptionCooldown") <= (CatalogFieldValueGetAsFixed(c_gameCatalogBehavior, "UtherEternalVanguardRezDelay", "Duration", lv_deadPlayer) + lv_spiritOfRedemptionBuffDuration)) || (UnitBehaviorCount(lv_deadUnit, "RedemptionCarryBehavior") == 1)))) {
        if ((UnitBehaviorCount(lv_deadUnit, "RedemptionCarryBehavior") == 0)) {
            ActorCreate(ActorScopeFromUnit(lv_deadUnit), "RedemptionVisualModel", null, null, null);
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18226

    lv_castByWheel = (EventPlayerEffectUsed() == "LootSprayWheelDummy");
    lv_mapID = libCore_gv_mAPMapStringID;
    lv_scope = ActorScopeFromUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster));

    // Conditions

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18728

        ActorSend(lv_heroActor, (("AnimGroupRemove " + lv_poseAnimGroup + " Instant")));
        ActorSend(lv_heroActor, (("AnimBlendTimeApply")));
        ActorSend(ActorFromScope(ActorScopeFromUnit(EventUnit()), lv_mountActorName), libNtve_gf_Destroy());
    }
    else {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:6230

    libCore_gf_CreateMinimapPingStorm(PlayerGroupAll(), "StormAlert", lv_spawnPoint, ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 3.0);
    libMapM_gf_ShareVisionofUnitForBothTeams(UnitLastCreated());
    ActorCreate(ActorScopeFromUnit(UnitLastCreated()), "UI_Game_Ping_Tribute_Ready", null, null, null);
    UnitGroupAddUnitGroup(libMapM_gv_mMRavenTributes, UnitLastCreatedGroup());
    libAIAI_gf_AITeamDelegateActivateDeactivateMapEvent(libAIAI_ge_AITeamDelegateActivateDeactivateMapToken_Activate);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7237

    for ( ; ( (autoFF5452D1_ai >= 0 && lv_obelisk <= autoFF5452D1_ae) || (autoFF5452D1_ai < 0 && lv_obelisk >= autoFF5452D1_ae) ) ; lv_obelisk += autoFF5452D1_ai ) {
        libCore_gf_CreateMinimapPingStorm(PlayerGroupAll(), "StormAlert", UnitGetPosition(libMapM_gv_mMGardensDragonDragonTowers[lv_obelisk].lv_shrineUnit), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 6.0);
        ActorCreate(ActorScopeFromUnit(libMapM_gv_mMGardensDragonDragonTowers[lv_obelisk].lv_shrineUnit), "UI_Game_Ping_Shrine_Ready", null, null, null);
    }
    return true;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7280

        ActorSend(libNtve_gf_MainActorofUnit(libMapM_gv_mMGardensDragonDragonTowers[lv_dragontower].lv_shrineUnit), "SetMinimapVisibility 1");
        libCore_gf_CreateMinimapPingStorm(PlayerGroupAll(), "StormWarning", UnitGetPosition(libMapM_gv_mMGardensDragonDragonTowers[lv_dragontower].lv_shrineUnit), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 3.0);
        ActorCreate(ActorScopeFromUnit(libMapM_gv_mMGardensDragonDragonTowers[lv_dragontower].lv_shrineUnit), "UI_Game_Ping_Shrine_Ready", null, null, null);
        libGame_gf_CapturePointEnable(libMapM_gv_mMGardensDragonDragonTowers[lv_dragontower].lv_captureBeaconIndex);
        AddUnitOfInterest(libMapM_gv_mMGardensDragonDragonTowers[lv_dragontower].lv_shrineUnit, 3.5, 0.0, "DefendDragonShrine", libNtve_ge_GoalTeam_Both, libMapM_gv_mMGardensDragonDragonTowers[lv_dragontower].lv_captureBeaconIndex);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2258

                    if ((UnitGroupHasUnit(lv_heroessHidden[lv_itPlayerInIntro], lv_itHero) == false)) {
                        UnitGroupAdd(lv_heroessHidden[lv_itPlayerInIntro], lv_itHero);
                        ActorScopeSend(ActorScopeFromUnit(lv_itHero), (("SetFilterPlayers " + IntToString(lv_itPlayerInIntro))));
                    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2285

                lv_itHero = UnitGroupUnitFromEnd(auto24AF5347_g, auto24AF5347_u);
                if (lv_itHero == null) { break; }
                ActorScopeSend(ActorScopeFromUnit(lv_itHero), (("SetFilterPlayers " + IntToString(lv_itPlayerInIntro) + " Clear")));
            }
            UnitGroupClear(lv_heroessHidden[lv_itPlayerInIntro]);

mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmodbase.stormdata/LibBBAY.galaxy:403

            TriggerExecute(libBBAY_gt_MMBBCannonballsOpenChestUponRespawn, true, false);
            MinimapPing(PlayerGroupAll(), UnitGetPosition(libBBAY_gv_mMBBCannonballsGhostShipBeacon), 4.0, Color(100.00, 100.00, 0.00));
            ActorCreate(ActorScopeFromUnit(libBBAY_gv_mMBBCannonballsGhostShipBeacon), "UI_Game_Ping_GhostShip_Ready", null, null, null);
            TriggerExecute(libBBAY_gt_MMBBCannonballsShootingEnd, true, false);
            TimerPause(libBBAY_gv_mMBBCannonballsTreasureChestTimer, false);

mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmodbase.stormdata/LibBBAY.galaxy:1427

    UnitBehaviorAdd(libBBAY_gv_mMBBCannonballsGhostShipBeacon, "MacguffinActivated", libBBAY_gv_mMBBCannonballsGhostShipBeacon, 1);
    libCore_gf_CreateMinimapPingStorm(PlayerGroupAll(), "StormAlert", UnitGetPosition(libBBAY_gv_mMBBCannonballsGhostShip), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 3.0);
    ActorCreate(ActorScopeFromUnit(libBBAY_gv_mMBBCannonballsGhostShip), "UI_Game_Ping_GhostShip_Ready", null, null, null);
    libBBAY_gv_mMBBCannonballsGhostShipPlayerDetectorRegion = RegionCircle(UnitGetPosition(libBBAY_gv_mMBBCannonballsGhostShipBeacon), 10.0);
    TriggerExecute(libBBAY_gt_MMBBCannonballsObjectiveUIHandler, true, false);

mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmodbase.stormdata/LibBBAY.galaxy:1864

        libBBAY_gv_mMBBCannonballsTreasureChestChests[lv_iter] = UnitLastCreated();
        AddUnitOfInterest(UnitLastCreated(), 0.0, 0.0, "KillTreasureChest", libNtve_ge_GoalTeam_Both, 0);
        ActorCreate(ActorScopeFromUnit(libBBAY_gv_mMBBCannonballsTreasureChestChests[lv_iter]), "UI_Game_Ping_TreasureSpawn", null, null, null);
        auto89875EA4_g = libCore_gv_allHeroPlayersPlusObserver;
        lv_p = -1;

mods/heroesmapmods/battlegroundmapmods/gardenofterror.stormmodbase.stormdata/LibGRDN.galaxy:195

    libGRDN_gv_seedSpawns[lp_location].lv_seedUnit = UnitLastCreated();
    libGRDN_gf_PingUnitUntilitsDead(UnitLastCreated(), false);
    ActorCreate(ActorScopeFromUnit(UnitLastCreated()), "UI_Game_Ping_Tribute_Ready", null, null, null);
    libNtve_gf_CreateActorAtPoint("UI_Game_Ping_GardenOfTerror_Seed_Spawned", libGRDN_gv_seedSpawns[lp_location].lv_point);
    lv_defenderIndex = 1;

mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmodbase.stormdata/LibMHtM.galaxy:1405

        lv_itGate = UnitGroupUnitFromEnd(auto1F59D3D4_g, auto1F59D3D4_u);
        if (lv_itGate == null) { break; }
        ActorCreate(ActorScopeFromUnit(lv_itGate), "UI_Game_Ping_Mines_Ready", null, null, null);
    }
    TriggerExecute(libMHtM_gt_MMHMPingGatesWhileEventinProgress, true, false);

mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmodbase.stormdata/LibVLSS.galaxy:121

    PlayerCreateEffectPoint(0, "Doodad_Volskaya_CapturePoint_Active", RegionGetCenter(lv_captureRegion));
    SoundPlayForPlayer(SoundLink("UI_Game_Ping_Volskaya_Event_Start", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
    ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Ally", null, null, null);
    libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_ally_LoopingSound = libNtve_gf_ActorLastCreatedSend();
    ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Enemy", null, null, null);

mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmodbase.stormdata/LibVLSS.galaxy:123

    ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Ally", null, null, null);
    libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_ally_LoopingSound = libNtve_gf_ActorLastCreatedSend();
    ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Enemy", null, null, null);
    libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_enemy_LoopingSound = libNtve_gf_ActorLastCreatedSend();
    ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_ally_LoopingSound, "SoundSetMuted 1 0");

mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmodbase.stormdata/LibVLSS.galaxy:127

    ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_ally_LoopingSound, "SoundSetMuted 1 0");
    ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_enemy_LoopingSound, "SoundSetMuted 1 0");
    ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Ally", null, null, null);
    libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_ally_LoopingSound = libNtve_gf_ActorLastCreatedSend();
    ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_ally_LoopingSound, "SetFilterPlayers");

mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmodbase.stormdata/LibVLSS.galaxy:130

    libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_ally_LoopingSound = libNtve_gf_ActorLastCreatedSend();
    ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_ally_LoopingSound, "SetFilterPlayers");
    ActorCreate(ActorScopeFromUnit(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core), "UI_Game_Volskaya_CapturePoint_Capturing_Enemy", null, null, null);
    libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_enemy_LoopingSound = libNtve_gf_ActorLastCreatedSend();
    ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamChaosIndex_C].lv_enemy_LoopingSound, "SetFilterPlayers");

mods/heromods/chromie.stormmodbase.stormdata/LibHCHR.galaxy:249

    }

    ActorSend(ActorFromScope(ActorScopeFromUnit(EventPlayerEffectUsedUnitLaunch()), "ChromieTemporalLoopTargetTrailFX"), "AnimGroupApply Teleport {} {} Instant");
    ActorCreate(ActorScopeFromUnit(EventPlayerEffectUsedUnitLaunch()), "ChromieTemporalLoopTargetTrailFX", null, null, null);
    ActorSend(libNtve_gf_ActorLastCreated(), "AnimBracketStart BSD {} Stand Death");

mods/heromods/chromie.stormmodbase.stormdata/LibHCHR.galaxy:250


    ActorSend(ActorFromScope(ActorScopeFromUnit(EventPlayerEffectUsedUnitLaunch()), "ChromieTemporalLoopTargetTrailFX"), "AnimGroupApply Teleport {} {} Instant");
    ActorCreate(ActorScopeFromUnit(EventPlayerEffectUsedUnitLaunch()), "ChromieTemporalLoopTargetTrailFX", null, null, null);
    ActorSend(libNtve_gf_ActorLastCreated(), "AnimBracketStart BSD {} Stand Death");
    return true;

mods/heromods/dva.stormmodbase.stormdata/LibHDVA.galaxy:237

    StatEventAddDataString(StatEventLastCreated(), "Hero", (libGame_gv_players[lp_player].lv_heroData.lv_unitType));
    StatEventSend(StatEventLastCreated());
    ActorScopeSend(ActorScopeFromUnit(libGame_gv_players[lp_player].lv_heroUnit), "StatusIncrement PreventDestroyOnDeath");
    libGame_gv_players[lp_player].lv_cameraPlayerUnitGroupToFocusOn = libNtve_gf_ConvertUnitToUnitGroup(lv_dVaMechUnit);
    if (((lp_player != 1) || (libCore_gv_sYSGameMode != libCore_ge_GameModes_Tutorial1) || (libNtve_gf_PlayerInCinematicMode(1) == false))) {

mods/heromods/lucio.stormmodbase.stormdata/LibHLUC.galaxy:585

    }

    ActorCreate(ActorScopeFromUnit(lv_lucioUnit), "LucioWallRideCantStopWontStopActivate", null, null, null);
    return true;
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:14257

            }
        }
        ActorCreate(ActorScopeFromUnit(lv_u), "CandyBowlCandyX", null, null, null);
        ActorSend(libNtve_gf_ActorLastCreated(), (("SetText " + ("+" + IntToString(lv_i)))));
        TriggerEnable(TriggerGetCurrent(), true);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:14261

        TriggerEnable(TriggerGetCurrent(), true);
        Wait(0.0, c_timeGame);
        ActorScopeSend(ActorScopeFromUnit(EventUnit()), "Signal CandyCountHide");
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15365

        UnitBehaviorAdd(EventPlayerEffectUsedUnit(c_effectUnitTarget), "BiomassBuff10PlusLife", EventPlayerEffectUsedUnit(c_effectUnitTarget), lv_biomass10Stacks);
        UnitBehaviorAdd(EventPlayerEffectUsedUnit(c_effectUnitTarget), "BiomassBuff1", EventPlayerEffectUsedUnit(c_effectUnitTarget), lv_biomass1Stacks);
        ActorScopeSend(ActorScopeFromUnit(EventPlayerEffectUsedUnit(c_effectUnitTarget)), "Signal BiomassAnimGroupC");
    }
    else {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15584

    libNtve_gf_SendActorMessageToUnit(EventUnit(), (("SetScale " + FixedToString((0.25 / lv_biomassMaxStacks * lv_biomassCountTotal + 1.25), 3))));
    if ((lv_biomassCountTotal >= 10)) {
        ActorScopeSend(ActorScopeFromUnit(EventUnit()), "Create BiomassBuffGlaze");
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15589

    lv_biomassVisualIndicatorInterval = ((lv_biomassMaxStacks - 10) / 3);
    if ((lv_biomassCountTotal > (lv_biomassVisualIndicatorInterval * 2 + 10))) {
        ActorScopeSend(ActorScopeFromUnit(EventUnit()), "Signal BiomassAnimGroupC");
    }
    else if ((lv_biomassCountTotal > (lv_biomassVisualIndicatorInterval + 10))) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15592

    }
    else if ((lv_biomassCountTotal > (lv_biomassVisualIndicatorInterval + 10))) {
        ActorScopeSend(ActorScopeFromUnit(EventUnit()), "Signal BiomassAnimGroupB");
    }
    else if ((lv_biomassCountTotal > 10)) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15595

    }
    else if ((lv_biomassCountTotal > 10)) {
        ActorScopeSend(ActorScopeFromUnit(EventUnit()), "Signal BiomassAnimGroupA");
    }
    return true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15888


    libNtve_gf_SendActorMessageToUnit(EventUnit(), (("SetScale " + FixedToString(((0.05 * lv_sacrificCount) + 1.0), 3))));
    ActorScopeSend(ActorScopeFromUnit(EventUnit()), libNtve_gf_Signal(IntToString(lv_sacrificCount)));
    return true;
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:16081

    libCOMI_gf_SetUnitAttributePoints("CommanderPrestigeAlarakMechBuff", EventPlayerEffectUsedUnit(c_effectUnitTarget), lv_currentStack);
    if ((lv_currentStack >= 8)) {
        ActorScopeSend(ActorScopeFromUnit(EventPlayerEffectUsedUnit(c_effectUnitTarget)), "Signal PrestigeMechAnimGroupC");
    }
    else if ((lv_currentStack >= 4)) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:16084

    }
    else if ((lv_currentStack >= 4)) {
        ActorScopeSend(ActorScopeFromUnit(EventPlayerEffectUsedUnit(c_effectUnitTarget)), "Signal PrestigeMechAnimGroupB");
    }
    else if (true) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:951

            UnitSetPropertyFixed(lp_damagedUnit, c_unitPropShields, (UnitGetPropertyFixed(lp_damagedUnit, c_unitPropShields, c_unitPropCurrent) + lv_bouncedDamageAmount));
            if ((libHots_gf_ActorForUnit(lp_damagedUnit, 420) == null)) {
                ActorCreate(ActorScopeFromUnit(lp_damagedUnit), "Diffusion_Shockwave_Coop", null, null, null);
                libHots_gf_StoreActorForUnit(lp_damagedUnit, 420, libNtve_gf_ActorLastCreated());
                Wait(2.0, c_timeGame);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:961

            UnitSetPropertyFixed(lp_damagedUnit, c_unitPropLife, (UnitGetPropertyFixed(lp_damagedUnit, c_unitPropLife, c_unitPropCurrent) + lv_bouncedDamageAmount));
            if ((libHots_gf_ActorForUnit(lp_damagedUnit, 420) == null)) {
                ActorCreate(ActorScopeFromUnit(lp_damagedUnit), "Diffusion_Shockwave_Coop", null, null, null);
                libHots_gf_StoreActorForUnit(lp_damagedUnit, 420, libNtve_gf_ActorLastCreated());
                Wait(2.0, c_timeGame);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:12398

    UnitCreate(1, lv_reviveType, 0, 3, libCOMU_gv_cT_CorpseLocations[lv_corpseIndex], libNtve_gf_RandomAngle());
    UnitCreateEffectUnit(UnitLastCreated(), "ReanimateCleanupTargetBehaviorsSet", UnitLastCreated());
    ActorCreate(ActorScopeFromUnit(UnitLastCreated()), "Reanimator_Resurrect_Coop", null, null, null);
    UnitGroupAdd(libCOMU_gv_cT_OnDeathSpawns, UnitLastCreated());
    libCOMU_gf_CT_RegisterSpawnedUnit(UnitLastCreated());

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:9338

                libCOUI_gf_PlayTychusPurchaseUpgradeSound(EventPlayer());
                lv_squadhero = libCOUI_gv_cU_TychusSquadHeroes[UserDataGetInt("CoopTechTychusSquad", lv_squadinstance, "Squad Slot", 1)];
                ActorCreate(ActorScopeFromUnit(EventUnit()), "Heavens_COOP_GearDeliveryBeam_Source", null, null, null);
                ActorSend(libNtve_gf_ActorLastCreated(), (("Signal " + (lv_squadinstance))));
                if ((UnitIsAlive(lv_squadhero) == true)) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:9341

                ActorSend(libNtve_gf_ActorLastCreated(), (("Signal " + (lv_squadinstance))));
                if ((UnitIsAlive(lv_squadhero) == true)) {
                    ActorCreate(ActorScopeFromUnit(lv_squadhero), "Heavens_COOP_GearDeliveryBeam_Target", null, null, null);
                    ActorSend(libNtve_gf_ActorLastCreated(), (("Signal " + (lv_squadinstance))));
                }

mods/warcoop/progression/equipments.sc2modbase.sc2data/LibPEqu.galaxy:69

    UnitModifyCooldown(lv_attacker, "Artifact/ArtifactHeroAttackTeleport", 10.0, c_cooldownOperationSet);
    UnitSetPosition(lv_attacker, UnitTypePlacementFromPoint(UnitGetType(lv_attacker), lv_attackingowner, UnitGetPosition(lv_defender), 10.0), false);
    ActorCreate(ActorScopeFromUnit(lv_attacker), "RemoveUnitTeleportVisual", null, null, null);
    return true;
}

mods/warcoop/warclassic.sc2modbase.sc2data/TriggerLibs/WarClassic.galaxy:282


    // Implementation
    lv_scope = ActorScopeFromUnit(lp_unit);
    ActorCreate(lv_scope, "SiteHosted", lp_attachPoint, "", "");
    lv_a = libNtve_gf_ActorLastCreated();