# Create Actor Scope
Grammar — Create an actor scope with an actor using actorName|Name
Flags —Native
|Action
Creates an empty actor scope. You can get the scope that was created by using “Last Created Actor Scope”. An actor scope is a container for a set of actors. Therefore, this action is only useful if you intend to create actors in the scope you create. Actor Name is an optional name for the actor to create, not the true name of the scope. If the name is “*” or “**” it is ignored, otherwise the function will try to create an actor with the specified name to put into the scope.
# Arguments
string
— Actor Name
Returns — actorscope
native actorscope ActorScopeCreate(
string optionalCreateWithActorName,
);
# 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
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:10185
}
ActorScopeCreate("AmbTarsonisDebrisLoopActorSoundSite");
gv_cameraSoundActorScope = libNtve_gf_ActorScopeLastCreated();
TriggerExecute(gt_StartAI, true, false);
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:10185
}
ActorScopeCreate("AmbTarsonisDebrisLoopActorSoundSite");
gv_cameraSoundActorScope = libNtve_gf_ActorScopeLastCreated();
TriggerExecute(gt_StartAI, true, false);