CNPC_Crow
Jump to navigation
Jump to search
Code classes:
CNPC_Crow
CAI_BaseNPC
(NPCs)CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
(models)CBaseEntity
(all ents)
CNPC_Crow
is the class representing Half-Life 2's crows (and really, all the birds). They fly around often and will take flight upon hearing unfriendly noises or seeing anybody they don't like. They don't mind zombies cause they smell nice. By default, they fly to the nearest ai_hint
with a hint type of Crow: Fly to point.
Keyvalues[edit | edit source]
- Deaf?
(deaf)
<boolean>
- Makes the bird ignore sounds.
Inputs[edit | edit source]
- FlyAway
<target_destination>
- Tells the bird to fly toward the specified entity. If no entity is specified, it flies to the nearest "fly to" hint.