# Actor Scope From
Grammar — Actor scope from reference name
Flags —Native|Function
Returns an actor scope from an actor reference specified in the Name parameter.
# Arguments
string— Name
Returns — actorscope
native actorscope ActorScopeFrom(string name);
# Related
Category: Actor / Utility
- Actor Get Text —
text— ActorGetText - Actor From Reference —
actor— ActorRefGet - Actor Scope Get Text —
text— ActorScopeGetText - Actor From —
actor— ActorFrom - Actor From Actor —
actor— ActorFromActor - Actor From Doodad —
actor— ActorFromDoodad - Actor From Portrait —
actor— ActorFromPortrait - Actor From Dialog Item —
actor— ActorFromDialogControl - Actor From Scope —
actor— ActorFromScope - Actor From Unit —
actor— libNtve_gf_MainActorofUnit - Actor Scope From —
actorscope— ActorScopeFrom - Actor Scope From Actor —
actorscope— ActorScopeFromActor - Actor Scope From Portrait —
actorscope— ActorScopeFromPortrait - Actor Scope From Dialog Item —
actorscope— ActorScopeFromDialogControl - Actor Scope From Unit —
actorscope— ActorScopeFromUnit - Texture Slot Component —
int— TextureGetSlotComponent - Texture Slot Name —
string— TextureGetSlotName - Actor Set Reference —
void— ActorRefSet - Apply Global Texture Group —
void— ActorTextureGroupApplyGlobal - Remove Global Texture Group —
void— ActorTextureGroupRemoveGlobal - Push Texture Group —
void— ActorTextureGroupPush - Pop Texture Group —
void— ActorTextureGroupPop - Make Actor Face Angle —
void— libNtve_gf_MakeModelFaceAngle - Play Movie Texture On Unit Actor —
void— libNtve_gf_PlayMovieTextureOnUnitActor - Stop All Video Textures On Unit —
void— libNtve_gf_StopAllVideoTexturesOnUnit - Show/Hide Doodads In Region —
void— libNtve_gf_ShowHideDoodadsInRegion - Actor Add Orient Update —
void— ActorAddOrientUpdate
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:330
// Automatic Variable Declarations
// Implementation
return ActorScopeFrom("::LastCreated");
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:336
// Automatic Variable Declarations
// Implementation
return ActorScopeFrom("::LastCreated");
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:206
// Automatic Variable Declarations
// Implementation
return ActorScopeFrom("::LastCreated");
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:212
// Automatic Variable Declarations
// Implementation
return ActorScopeFrom("::LastCreated");
}
mods/heromods/hanzo.stormmod — base.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