Ai ally manager

From Valve Developer Community
Revision as of 05:41, 2 July 2005 by Mark WiseCarver (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ai_ally_manager

AI Ally Manager

KEYS

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

Maximum number of allies maxallies <integer>

Maximum number of medics maxmedics <integer>


INPUTS

Kill Removes this entity from the world.

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

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.

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.

SetMaxAllies <integer> Set maximum number of allies

SetMaxMedics <integer> Set maximum number of medic allies

Replenish Replenish player allies


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.

SpawnMedicAlly Spawn Medic Ally

SpawnAlly0 Spawn Ally 0

SpawnAlly1 Spawn Ally 1

SpawnAlly2 Spawn Ally 2

SpawnAlly3 Spawn Ally 3

SpawnAlly4 Spawn Ally 4

SpawnAlly5 Spawn Ally 5

SpawnAlly6 Spawn Ally 6

SpawnAlly7 Spawn Ally 7

SpawnAlly8 Spawn Ally 8

SpawnAlly9 Spawn Ally 9

OnZeroAllies Fires when there are no more allies

OnZeroMedicAllies Fires when there are no more allies