Ai citizen response system: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Unicodifying, replaced: {{language subpage → {{langsp)
(Preparing page for move. This action was perfomed by a bot under supervision.)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{this is a|e0|name=ai_citizen_response_system|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.
{{langsp}}
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of , please move {{this is a}} to the base page, as it is automatically translated. -->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.
Line 16: Line 17:
==Outputs==
==Outputs==
{{O BaseEntity}}
{{O BaseEntity}}
[[Category:AI]]

Revision as of 09:47, 12 January 2024

English (en)Translate (Translate)

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