npc_puppet
Jump to navigation
Jump to search
![]() |
---|
CNPC_Puppet |
![]() |
npc_puppet
is a model entity available in Half-Life 2. It is a puppet entity that mimics the animations of a target NPC.
For example, place a combine soldier then an npc_puppet and edit the npc_puppet to follow the soldier and it will mimic whatever the soldier does.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Animation target (animationtarget) <string>
- NPC entity to mimic.
- Target attachment point name (attachmentname) <string>
Inputs
- SetAnimationTarget <string >
- Set the animation target to use. An empty string will disable the puppet.