Ai citizen response system: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(Structure and Formatting)
Line 1: Line 1:
ai_citizen_response_system
==Entity Description==
'''Entity Name:''' ai_citizen_response_system


If placed in the level, will manage citizens responses to player's actions.
If placed in the level, will manage citizens responses to player's actions.


KEYS
==Entity Values==
===Keys===


Name targetname <target_source> The name that other entities refer to this entity by.
'''Name targetname''' ''<target_source>''  The name that other entities refer to this entity by.


===Inputs===


INPUTS
'''Kill'''  Removes this entity from the world.


Kill Removes this entity from the world.
'''KillHierarchy'''  Removes this entity and all its children from the world.


KillHierarchy Removes this entity and all its children from the world.
'''AddOutput''' ''<string> <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>'' Adds an entity I/O connection to this entity. Very dangerous, use with care.


AddOutput <string> Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
'''FireUser1''' Causes this entity's OnUser1 output to be fired.


FireUser1 Causes this entity's OnUser1 output to be fired.
'''FireUser2''' Causes this entity's OnUser2 output to be fired.


FireUser2 Causes this entity's OnUser2 output to be fired.
'''FireUser3''' Causes this entity's OnUser3 output to be fired.


FireUser3 Causes this entity's OnUser3 output to be fired.
'''FireUser4''' Causes this entity's OnUser4 output to be fired.


FireUser4 Causes this entity's OnUser4 output to be fired.
'''ResponseVitalNPC''' Fire the VitalNPC Died response.


ResponseVitalNPC Fire the VitalNPC Died response.
===Outputs===


'''OnUser1''' Fired in response to FireUser1 input.


OUTPUTS
'''OnUser2''' Fired in response to FireUser2 input.


OnUser1 Fired in response to FireUser1 input.
'''OnUser3''' Fired in response to FireUser3 input.


OnUser2 Fired in response to FireUser2 input.
'''OnUser4''' Fired in response to FireUser4 input.
 
OnUser3 Fired in response to FireUser3 input.
 
OnUser4 Fired in response to FireUser4 input.

Revision as of 21:05, 2 July 2005

Entity Description

Entity Name: ai_citizen_response_system

If placed in the level, will manage citizens responses to player's actions.

Entity Values

Keys

Name targetname <target_source> The name that other entities refer to this entity by.

Inputs

Kill Removes this entity from the world.

KillHierarchy Removes this entity and all its children from the world.

AddOutput <string> <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)> Adds an entity I/O connection to this entity. Very dangerous, use with care.

FireUser1 Causes this entity's OnUser1 output to be fired.

FireUser2 Causes this entity's OnUser2 output to be fired.

FireUser3 Causes this entity's OnUser3 output to be fired.

FireUser4 Causes this entity's OnUser4 output to be fired.

ResponseVitalNPC Fire the VitalNPC Died response.

Outputs

OnUser1 Fired in response to FireUser1 input.

OnUser2 Fired in response to FireUser2 input.

OnUser3 Fired in response to FireUser3 input.

OnUser4 Fired in response to FireUser4 input.