# Create Actor Scope

Grammar — Create an actor scope with an actor using actorName|Name
FlagsNative | 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,
);

Category: Actor / Create Actors

# Examples

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L9377
ActorScopeCreate("AmbTarsonisDebrisLoopActorSoundSite")
// L9377
ActorScopeCreate("AmbTarsonisDebrisLoopActorSoundSite")