Ai citizen response system: Difference between revisions
Jump to navigation
Jump to search

Note:This entity is also in the code for
Portal. Its functionality is not guaranteed.
(-added class hierarchy, cleanup) |
SirYodaJedi (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{LanguageBar}} | {{LanguageBar}} | ||
{{CD|CCitizenResponseSystem|file1=npc_citizen17.cpp}} | {{CD|CCitizenResponseSystem|file1=npc_citizen17.cpp}} | ||
{{this is a|point entity|name=ai_citizen_response_system|game=Half-Life 2 | {{this is a|point entity|name=ai_citizen_response_system|game=Half-Life 2 series}} | ||
If placed in the level, it will manage the responses of [[Npc_citizen|citizens]] to player's actions. Only one should be placed in the map ever. | If placed in the level, it will manage the responses of [[Npc_citizen|citizens]] to player's actions. Only one should be placed in the map ever. | ||
Revision as of 09:10, 9 September 2024


![]() |
---|
CCitizenResponseSystem |
![]() |
ai_citizen_response_system
is a point entity available in Half-Life 2 series.
If placed in the level, it will manage the responses of citizens to player's actions. Only one should be placed in the map ever.
This entity is in the FGD for Alien Swarm, but is removed from games code.


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
Inputs
- ResponseVitalNPC
- Fire the
CR_VITALNPC_DIED
response.