# Actor Scope From

Grammar — Actor scope from reference name
FlagsNative | Function

Returns an actor scope from an actor reference specified in the Name parameter.

# Arguments

  • string — Name

Returns — actorscope

native actorscope ActorScopeFrom(string name);

Category: Actor / Utility

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L330
ActorScopeFrom("::LastCreated")
// L336
ActorScopeFrom("::LastCreated")
// L206
ActorScopeFrom("::LastCreated")
// L212
ActorScopeFrom("::LastCreated")

# mods/heromods/hanzo.stormmod

LibHHAN.galaxy

// L366
ActorScopeFrom("::Cursor")