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.
		
	
m (Robot: fixing template case.)  | 
				No edit summary  | 
				||
| (20 intermediate revisions by 11 users not shown) | |||
| Line 1: | Line 1: | ||
{{  | {{LanguageBar}}  | ||
{{CD|CCitizenResponseSystem|file1=npc_citizen17.cpp}}  | |||
{{this is a|logical 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.  | |||
This entity is in the [[FGD]] for Alien Swarm, but is removed from games code.  | |||
{{stray ent|{{portal|4|}}}}  | |||
==   | ==Keyvalues==  | ||
{{KV Targetname}}  | |||
==Inputs==  | |||
{{I|ResponseVitalNPC|Fire the <code>CR_VITALNPC_DIED</code> response.}}  | |||
==   | |||
[[Category:AI]]  | [[Category:AI]]  | ||
Latest revision as of 14:13, 7 June 2025
| CCitizenResponseSystem | 
ai_citizen_response_system  is a   logical 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. 
parentnameortarget).
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_DIEDresponse.