Asw order nearby aliens: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Cleaned up the wording, changed parts of the text. Clarified some stupidly written points - this is a radius based entity, NOT a brush based one!)
m (→‎Inputs: Substituted IO templates)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{as brush|asw_order_nearby_aliens}} Used to issue one or more orders to nearby aliens of a specified type.
{{this is a|point entity|game=Alien Swarm|name=Asw_order_nearby_aliens}}  


== Recommendations ==
==Entity description==
It is used to issue one or more orders to nearby aliens of a specified type.
 
'''Recommendations''':
* Useful for moving specific aliens to points in the level in one manner or another. {{note|This entity will remain inactive until triggered via an input, E.g an output received from another entity.}}
* Useful for moving specific aliens to points in the level in one manner or another. {{note|This entity will remain inactive until triggered via an input, E.g an output received from another entity.}}
* It can be used to force aliens to retreat, via the 'Alien Orders: (Move To)' property.
* It can be used to force aliens to retreat, via the 'Alien Orders: (Move To)' property.
Line 7: Line 10:


== Keyvalues ==
== Keyvalues ==
; <code>Order Radius</code>
{{KV|Order Radius||The distance in units from the entity aliens of the specified class will receive orders, meaning that if there are aliens within the specified radius; they will receive orders, not those outside of it.}}
: The distance in units from the entity aliens of the specified class will receive orders, meaning that if there are aliens within the specified radius; they will receive orders, not those outside of it.
 
; <code>Alien Class</code>
{{KV|Alien Class||Which class type of alien to send orders to.}}
: Which class type of alien to send orders to.
 
; <code>Alien Orders</code>
{{KV|Alien Orders||Orders given to nearby aliens. '''This can be either of four choices: Spread and Hibernate, Move To (specific target), Move To Nearest Marine (being the closest to the ordered alien) and Move To Ignoring Marines.'''}}
: Orders given to nearby aliens. This can be either of four choices: Spread and Hibernate, Move To (specific target), Move To Nearest Marine (being the closest to the ordered alien) and Move To Ignoring Marines.
 
; <code>Alien Orders Target Name</code>
{{KV|Alien Orders Target Name||Name of the target object for our orders (used by the 'Move To').}}
: Name of the target object for our orders (used by the 'Move To').
== Outputs ==
; <code>OnUser1 - 4</code>
: Fire the OnUser outputs; see [[User Inputs and Outputs]].


== Inputs ==
== Inputs ==
; <code>Send Orders</code>
{{I Targetname}}
: Triggers the entity and sends the specified orders. Can be refired infinitely.
 
; <code>OnUser1 - 4</code>
{{I|Send Orders|Triggers the entity and sends the specified orders. Can be refired infinitely.|}}
: Fired in response to the FireUser inputs; see [[User Inputs and Outputs]].
 
; <code>Kill</code>
== Outputs ==
: Removes the entity permanently, which will stop any further orders from being sent. '''Disabling the recurring trigger would be recommended as opposed to removing the entity entirely, in the case of it being needed again later.'''
{{O Targetname}}

Latest revision as of 23:04, 20 April 2025

Asw_order_nearby_aliens is a point entity available in Alien Swarm Alien Swarm.

Entity description

It is used to issue one or more orders to nearby aliens of a specified type.

Recommendations:

  • Useful for moving specific aliens to points in the level in one manner or another.
    Note.pngNote:This entity will remain inactive until triggered via an input, E.g an output received from another entity.
  • It can be used to force aliens to retreat, via the 'Alien Orders: (Move To)' property.
  • Can be used to simulate alien intelligence or interesting behaviour. ex. Retreating or flanking behaviour when a marine activates a remote turret.

Keyvalues

Order Radius ([todo internal name (i)])
The distance in units from the entity aliens of the specified class will receive orders, meaning that if there are aliens within the specified radius; they will receive orders, not those outside of it.


Alien Class ([todo internal name (i)])
Which class type of alien to send orders to.


Alien Orders ([todo internal name (i)])
Orders given to nearby aliens. This can be either of four choices: Spread and Hibernate, Move To (specific target), Move To Nearest Marine (being the closest to the ordered alien) and Move To Ignoring Marines.


Alien Orders Target Name ([todo internal name (i)])
Name of the target object for our orders (used by the 'Move To').

Inputs

Send Orders
Triggers the entity and sends the specified orders. Can be refired infinitely.

Outputs