# Attach Model To Actor (Deprecated)

Grammar — Attach model to attachPoint on actor
FlagsAction | Hidden

Creates a generic actor with the specified model attached to an actor at the specified attach point. Use “Last Created Actor” to get the attached model’s actor.

# Arguments

  • actor — Actor
  • string [ gamelink::Model ] — Model
  • string [ preset::AttachPoints ] — AttachPoint

Returns — actor

actor libNtve_gf_AttachModelToActor(
	actor lp_actor,
	string lp_model,
	string lp_attachPoint,
);

Category: Actor / Deprecated

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L11530
libNtve_gf_AttachModelToActor(ActorFromDoodad(DoodadFromId(1717)), "KerriganGhostLab", "Ref_Hardpoint")
// L11533
libNtve_gf_AttachModelToActor(ActorFromDoodad(DoodadFromId(1717)), "RaynorLab", "Ref_Hardpoint 01")
// L11550
libNtve_gf_AttachModelToActor(ActorFromDoodad(DoodadFromId(47)), "KerriganGhostLab", "Ref_Hardpoint")
// L11553
libNtve_gf_AttachModelToActor(ActorFromDoodad(DoodadFromId(47)), "RaynorLab", "Ref_Hardpoint 01")
// L8401
libNtve_gf_AttachModelToActor(ActorFromDoodad(DoodadFromId(224)), "InfestedKerrigan", "Ref_Origin")
// L11530
libNtve_gf_AttachModelToActor(ActorFromDoodad(DoodadFromId(1717)), "KerriganGhostLab", "Ref_Hardpoint")
// L11533
libNtve_gf_AttachModelToActor(ActorFromDoodad(DoodadFromId(1717)), "RaynorLab", "Ref_Hardpoint 01")
// L11550
libNtve_gf_AttachModelToActor(ActorFromDoodad(DoodadFromId(47)), "KerriganGhostLab", "Ref_Hardpoint")
// L11553
libNtve_gf_AttachModelToActor(ActorFromDoodad(DoodadFromId(47)), "RaynorLab", "Ref_Hardpoint 01")
// L8401
libNtve_gf_AttachModelToActor(ActorFromDoodad(DoodadFromId(224)), "InfestedKerrigan", "Ref_Origin")