Assault rallypoint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
(Reverted the redirect, writing a standard entity page.)
Line 1: Line 1:
#REDIRECT [[Assaults]]
{{wrongtitle|title=assault_rallypoint}}
 
==Entity Description==
A point used to rally NPCs given ''Assault'' inputs to. All assaults begin at a rallypoint. NPCs rally to these points when cued for an assault, often waiting here before commencing the assault by heading to an [[assault_assaultpoint]].
 
==Keyvalues==
* {{kv angles}}
* '''priority'''
: <?> Priority - How appealing the rallypoint will be. When an NPC receives the ''Assault'' input, it will select a suitable rallypoint from those available to it, prefering the one with the highest ''priority'' value.
* {{kv targetname}}
* {{kv parentname}}
* '''assaultpoint'''
: <?> Assault Point - The first [[assault_assaultpoint]] in the chain to move to as the assault begins.
* '''assaultdelay'''
: <?> Assault Delay - The amount of time to wait here once the assault cue has been given, before moving to the first [[assault_assaultpoint]].
* '''rallysequence'''
: <?> Rally Sequence - Set a specific animation sequence for NPCs waiting to begin the assault, overriding the wait activity of the NPC.
 
<!--This entity doesn't have any flags.-->
==Inputs==
* {{i targetname}}
* {{i parentname}}
 
==Outputs==
* '''OnArrival'''
: Fires when the NPC arrives.
* {{o targetname}}
 
==See Also==
* [[Assaults]]
 
[[Category:AI]] [[Category:Entities]]

Revision as of 05:13, 9 April 2006

Template:Wrongtitle

Entity Description

A point used to rally NPCs given Assault inputs to. All assaults begin at a rallypoint. NPCs rally to these points when cued for an assault, often waiting here before commencing the assault by heading to an assault_assaultpoint.

Keyvalues

<?> Priority - How appealing the rallypoint will be. When an NPC receives the Assault input, it will select a suitable rallypoint from those available to it, prefering the one with the highest priority value.
<?> Assault Point - The first assault_assaultpoint in the chain to move to as the assault begins.
  • assaultdelay
<?> Assault Delay - The amount of time to wait here once the assault cue has been given, before moving to the first assault_assaultpoint.
  • rallysequence
<?> Rally Sequence - Set a specific animation sequence for NPCs waiting to begin the assault, overriding the wait activity of the NPC.

Inputs

Outputs

  • OnArrival
Fires when the NPC arrives.

See Also