npc_heardanger
Jump to navigation
Jump to search
npc_heardanger
is a point entity available in Counter-Strike: Global Offensive.
FGD Information
A generic NPC entity that hears and reports 'danger' and is not preverved or round restart. Danger sounds consist of gunshots, player sounds, bullet impacts, nearby vehicles and andything else that gives of a danger sound.
Keyvalues
- Name (targetname) <string>
- 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
- Model (model) <model path>
- The model this entity should appear as.See also: Rendering and studio model related KIO
Inputs
- Kill
- Removes this entity from the world
Outputs
- OnHearWorld
- Fired when this NPC hears a sound (other than combat or the player).
- OnHearPlayer
- Fired when this NPC hears the player.
- OnHearCombat
- Fired when this NPC hears combat sounds.