# Last Created Actor Scope

Grammar — Last created actor scope
FlagsFunction

Returns the last actor scope successfully created by the user via cheat, data or script.

Returns — actorscope

actorscope libNtve_gf_ActorScopeLastCreated();

Category: Actor / Create Actors

# Examples

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

    // Transmission - SoundLink("TRaynor01Raynor00030", 0)
    libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00030", 0), c_transmissionDurationAdd, 0.0, true);
    ActorScopeKill(libNtve_gf_ActorScopeLastCreated());
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
    TriggerQueueExit();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:788

    // Transmission - SoundLink("TRaynor01Raynor00030", 0)
    libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00030", 0), c_transmissionDurationAdd, 0.0, true);
    ActorScopeKill(libNtve_gf_ActorScopeLastCreated());
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
    TriggerQueueExit();

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

    // Automatic Variable Declarations
    // Deprecated
    return libNtve_gf_ActorScopeLastCreated();
}

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

    // Automatic Variable Declarations
    // Deprecated
    return libNtve_gf_ActorScopeLastCreated();
}

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:10186

    }
    ActorScopeCreate("AmbTarsonisDebrisLoopActorSoundSite");
    gv_cameraSoundActorScope = libNtve_gf_ActorScopeLastCreated();
    TriggerExecute(gt_StartAI, true, false);
    Wait(0.5, c_timeReal);

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:10186

    }
    ActorScopeCreate("AmbTarsonisDebrisLoopActorSoundSite");
    gv_cameraSoundActorScope = libNtve_gf_ActorScopeLastCreated();
    TriggerExecute(gt_StartAI, true, false);
    Wait(0.5, c_timeReal);