ai_npc_eventresponsesystem
Jump to navigation
Jump to search
Code classes:
CNPCEventResponseSystemEntityCBaseEntity(all ents)
ai_npc_eventresponsesystem is a point entity present in the
Half-Life 2 series and
Portal 2, but not Half-Life 2: Deathmatch. It makes the nearest NPC to the player within 768 units speak a response concept, such as TLK_PLAYERUSE.
Inputs[edit | edit source]
- TriggerResponseEvent
<string> - Makes an NPC speak the specified concept. If the nearest NPC is currently in a scene, they will ignore the concept. Farther NPCs will not do anything.
- ForceTriggerResponseEvent
<string> - Makes an NPC speak the specified concept. If the nearest NPC is currently in a scene, they will be taken out of it when they speak this concept.
- ForceTriggerResponseEventNoCancel
<string> - Makes an NPC speak the specified concept. If the nearest NPC is currently in a scene, they will resume it when they finish speaking the concept.