Ai citizen response system: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (tweaks)
Line 1: Line 1:
{{lang|title=ai_citizen_response_system}}
{{lang|title=ai_citizen_response_system}}
{{entity|ai_citizen_response_system|type=e0|series=Half-Life 2}} If placed in the level, it will manage the responses of [[Npc_citizen|citizens]] to player's actions. Only one should be in the map ever.
{{entity|ai_citizen_response_system|type=e0|series=Half-Life 2}} 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 game code.
This entity is in the [[FGD]] for Alien Swarm, but is removed from games code.


{{stray ent|{{portal}}}}
{{stray ent|{{portal|4|}}}}


{{code class|CCitizenResponseSystem|npc_citizen17.cpp}}
{{code class|CCitizenResponseSystem|npc_citizen17.cpp}}

Revision as of 13:29, 14 November 2023

English (en)Translate (Translate)

Template:Entity 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.

Note.pngNote:This entity is also in the code for Portal Portal. Its functionality is not guaranteed.


C++ In code, it is represented by theCCitizenResponseSystemclass, defined in thenpc_citizen17.cppfile.

Keyvalues

Inputs

ResponseVitalNPC
Fire the CR_VITALNPC_DIED response.


Outputs