# 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.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:330

    // Automatic Variable Declarations
    // Implementation
    return ActorScopeFrom("::LastCreated");
}

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

    // Automatic Variable Declarations
    // Implementation
    return ActorScopeFrom("::LastCreated");
}

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

    // Automatic Variable Declarations
    // Implementation
    return ActorScopeFrom("::LastCreated");
}

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

    // Automatic Variable Declarations
    // Implementation
    return ActorScopeFrom("::LastCreated");
}

mods/heromods/hanzo.stormmodbase.stormdata/LibHHAN.galaxy:366

    lv_numberofGrowthLoops = ((lv_chargingBehaviorDuration / 0.0625) + 1.0);
    lv_offsetPerLoop = (lv_extraRange / lv_numberofGrowthLoops);
    lv_guide = ActorFromScope(ActorScopeFrom("::Cursor"), "HanzoStormBowGuide");

    // Actions