Cleanup is going to take awhile, so the site is back up but editing has been disabled.

Ai ally manager

From HalfLife 2 Knowledge Base

Jump to: navigation, search

Contents

ai_ally_manager

Half-Life 2 Point Entity



properties

  • Name targetname(target_source)
    The name that other entities refer to this entity by.
  • Maximum number of allies maxallies(integer) - default: 5
  • Maximum number of medics maxmedics(integer) - default: 1


spawn flags

none.


inputs

  • Kill(void)
    Removes this entity from the world.
  • KillHierarchy(void)
    Removes this entity and all its children from the world.
  • AddOutput(string)
    Adds an entity I/O connection to this entity. Format
  • FireUser1(void)
    Causes this entity's OnUser1 output to be fired.
  • FireUser2(void)
    Causes this entity's OnUser2 output to be fired.
  • FireUser3(void)
    Causes this entity's OnUser3 output to be fired.
  • FireUser4(void)
    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(void)
    Replenish player allies.

outputs

  • OnUser1(void)
    Fired in response to FireUser1 input.
  • OnUser2(void)
    Fired in response to FireUser2 input.
  • OnUser3(void)
    Fired in response to FireUser3 input.
  • OnUser4(void)
    Fired in response to FireUser4 input.
  • SpawnMedicAlly(void)
    Spawn Medic Ally
  • SpawnAlly0(void)
    Spawn Ally 0
  • SpawnAlly1(void)
    Spawn Ally 1
  • SpawnAlly2(void)
    Spawn Ally 2
  • SpawnAlly3(void)
    Spawn Ally 3
  • SpawnAlly4(void)
    Spawn Ally 4
  • SpawnAlly5(void)
    Spawn Ally 5
  • SpawnAlly6(void)
    Spawn Ally 6
  • SpawnAlly7(void)
    Spawn Ally 7
  • SpawnAlly8(void)
    Spawn Ally 8
  • SpawnAlly9(void)
    Spawn Ally 9
  • OnZeroAllies(void)
    Fires when there are no more allies.
  • OnZeroMedicAllies(void)
    Fires when there are no more allies.

related tutorials

Submit your tutorial for ai_ally_manager

Personal tools