# Last Created Actor Scope
Grammar — Last created actor scope
Flags —Function
Returns the last actor scope successfully created by the user via cheat, data or script.
Returns — actorscope
actorscope libNtve_gf_ActorScopeLastCreated();
# Related
Category: Actor / Create Actors
- Attach Model To Unit —
actor
— libNtve_gf_AttachModelToUnit - Attach Model To Unit (Inherit Visibility) —
actor
— libNtve_gf_AttachModelToUnitInheritVisibility - Attach Model To Actor —
actor
— libNtve_gf_AttachModelToActor2 - Last Created Actor Scope —
actorscope
— libNtve_gf_ActorScopeLastCreated - Last Created Actor Scope by Message —
actorscope
— libNtve_gf_ActorScopeLastCreatedSend - Last Created Actor —
actor
— libNtve_gf_ActorLastCreated - Last Created Actor by Message —
actor
— libNtve_gf_ActorLastCreatedSend - Attach Actor To Unit —
actor
— libNtve_gf_AttachActorToUnit - Attach Actor To Actor —
actor
— libNtve_gf_AttachActorToActor - Create Actor Scope —
actorscope
— ActorScopeCreate - Create Actor —
actor
— ActorCreate - Create Actor Region —
actor
— ActorRegionCreate - Create Actor At Point —
actor
— libNtve_gf_CreateActorAtPoint - Create Model At Point —
actor
— libNtve_gf_CreateModelAtPoint - Create Model With Point Facing —
void
— libNtve_gf_CreateModelWithPointFacing - Actor Scope Move To —
void
— ActorScopeMoveTo
# Examples
campaigns/liberty.sc2campaign — base.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.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();
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:267
// Automatic Variable Declarations
// Deprecated
return libNtve_gf_ActorScopeLastCreated();
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:143
// Automatic Variable Declarations
// Deprecated
return libNtve_gf_ActorScopeLastCreated();
}
mods/novastoryassets.sc2mod — base.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.sc2map — MapScript.galaxy:10186
}
ActorScopeCreate("AmbTarsonisDebrisLoopActorSoundSite");
gv_cameraSoundActorScope = libNtve_gf_ActorScopeLastCreated();
TriggerExecute(gt_StartAI, true, false);
Wait(0.5, c_timeReal);