Ai goal follow

From Valve Developer Community
Revision as of 12:43, 2 July 2005 by Mark WiseCarver (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ai_goal_follow

AI Goal Follow

KEYS

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

Actor(s) to affect actor <target_name_or_class>

Target Entity goal <string> The name of the entity to follow. If blank, and the actor likes the player, then defaults to player

Search Type SearchType <choices> How to search for the entities using the targetname.

Start Active StartActive <choices>

Maximum state MaximumState <choices>

Formation Formation <choices>


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.

Activate Begin the follow behavior

Deactivate Cease the follow behavior


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.