# Attach Actor To Actor
Grammar — Attach attachingActor|Actor to attachPoint|Attach Point on hostingActor|Actor
Flags —Action
Creates an actor attached to an actor at the specified attach point. Use “Last Created Actor” to get the attached actor.
# Arguments
actor
— Hosting Actorstring
[ gamelink::Actor ] — Attaching Actorstring
[ preset::AttachPoints ] — AttachPoint
Returns — actor
actor libNtve_gf_AttachActorToActor(
actor lp_hostingActor,
string lp_attachingActor,
string lp_attachPoint,
);
# Related
Category: Actor / Create Actors
- [F] —
actor
— Attach Model To Unit — ( libNtve_gf_AttachModelToUnit ) - [F] —
actor
— Attach Model To Unit (Inherit Visibility) — ( libNtve_gf_AttachModelToUnitInheritVisibility ) - [F] —
actor
— Attach Model To Actor — ( libNtve_gf_AttachModelToActor2 ) - [F] —
actorscope
— Last Created Actor Scope — ( libNtve_gf_ActorScopeLastCreated ) - [F] —
actorscope
— Last Created Actor Scope by Message — ( libNtve_gf_ActorScopeLastCreatedSend ) - [F] —
actor
— Last Created Actor — ( libNtve_gf_ActorLastCreated ) - [F] —
actor
— Last Created Actor by Message — ( libNtve_gf_ActorLastCreatedSend ) - [F] —
actor
— Attach Actor To Unit — ( libNtve_gf_AttachActorToUnit ) - [F] —
actor
— Attach Actor To Actor — ( libNtve_gf_AttachActorToActor ) - [F] —
actorscope
— Create Actor Scope — ( ActorScopeCreate ) - [F] —
actor
— Create Actor — ( ActorCreate ) - [F] —
actor
— Create Actor Region — ( ActorRegionCreate ) - [F] —
actor
— Create Actor At Point — ( libNtve_gf_CreateActorAtPoint ) - [F] —
actor
— Create Model At Point — ( libNtve_gf_CreateModelAtPoint ) - [F] —
void
— Create Model With Point Facing — ( libNtve_gf_CreateModelWithPointFacing ) - [F] —
void
— Actor Scope Move To — ( ActorScopeMoveTo )
# Examples
# campaigns/swarm.sc2campaign
// L772
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(964)), "HydraEvoCavesLoopSound", "Center")
// L773
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(963)), "HydraEvoCavesLoopSound", "Center")
// L774
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(966)), "HydraEvoCavesLoopSound", "Center")
// L775
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(971)), "HydraEvoCavesLoopSound", "Center")
// L776
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(969)), "HydraEvoCavesLoopSound", "Center")
// L777
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(970)), "HydraEvoCavesLoopSound", "Center")
// L772
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(964)), "HydraEvoCavesLoopSound", "Center")
// L773
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(963)), "HydraEvoCavesLoopSound", "Center")
// L774
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(966)), "HydraEvoCavesLoopSound", "Center")
// L775
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(971)), "HydraEvoCavesLoopSound", "Center")
// L776
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(969)), "HydraEvoCavesLoopSound", "Center")
// L777
libNtve_gf_AttachActorToActor(libNtve_gf_MainActorofUnit(UnitFromId(970)), "HydraEvoCavesLoopSound", "Center")