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 (Nesciuse moved page Ai citizen response system/en to Ai citizen response system without leaving a redirect: Move en subpage to basepage) |
(-added class hierarchy, cleanup) |
||
Line 1: | Line 1: | ||
{{LanguageBar}} | {{LanguageBar}} | ||
{{this is a|point entity|name=ai_citizen_response_system|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch | {{CD|CCitizenResponseSystem|file1=npc_citizen17.cpp}} | ||
{{this is a|point entity|name=ai_citizen_response_system|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch}} | |||
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. | This entity is in the [[FGD]] for Alien Swarm, but is removed from games code. | ||
{{stray ent|{{portal|4|}}}} | {{stray ent|{{portal|4|}}}} | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV | {{KV Targetname}} | ||
==Inputs== | ==Inputs== | ||
{{IO|ResponseVitalNPC|Fire the <code>CR_VITALNPC_DIED</code> response.}} | {{IO|ResponseVitalNPC|Fire the <code>CR_VITALNPC_DIED</code> response.}} | ||
[[Category:AI]] | [[Category:AI]] |
Revision as of 05:06, 14 August 2024


![]() |
---|
CCitizenResponseSystem |
![]() |
ai_citizen_response_system
is a point entity available in Half-Life 2,
Half-Life 2: Episode One,
Half-Life 2: Episode Two, and
Half-Life 2: Deathmatch.
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.
Categories:
- Point entities
- Non-internal Half-Life 2 entities
- Half-Life 2 entities
- Half-Life 2 point entities
- Non-internal Half-Life 2: Episode One entities
- Half-Life 2: Episode One entities
- Half-Life 2: Episode One point entities
- Non-internal Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two point entities
- Non-internal Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch point entities
- AI