Asw order nearby aliens: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{as}}'''asw_Order_nearby_aliens''' is an entity available in Alien Swarm Issues an order to nearby aliens of a specified type. {{clr}} == Recommendations == * usefull for si…')
 
m (→‎Inputs: Substituted IO templates)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{as}}'''asw_Order_nearby_aliens''' is an entity available in [[Alien Swarm]] Issues an order to nearby aliens of a specified type.
{{this is a|point entity|game=Alien Swarm|name=Asw_order_nearby_aliens}}
{{clr}}
 
== Recommendations ==
==Entity description==
* usefull for situations where you want certain types of aliens to do something and another type to do something else {{note|THis entity Will not be active until triggered by something else}}
It is used to issue one or more orders to nearby aliens of a specified type.
* can also be used to force the aliens to retreat, via the alien orders(Move To) property, can give immersion by simulating alien inteligence. '''ex. running away or flanking 2 directions when a marine activates a turret'''
 
'''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.}}
* 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 ==
== 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.}}
: Which type of alien to send orders to.
 
; <code>Alien Orders</code>
{{KV|Alien Class||Which class type of alien to send orders to.}}
: Orders given to nearby aliens
 
; <code>Alien Orders Target Name</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.'''}}
: Name of the target object for our orders (used by move to and move to ignoring marines orders).
 
== Outputs ==
{{KV|Alien Orders Target Name||Name of the target object for our orders (used by the 'Move To').}}
{{todo| add and explain Outputs}}


== Inputs ==
== Inputs ==
; <code>Send Orders</code>
{{I Targetname}}
: activates the entity and well sends the orders given, then goes back to sleep until triggered again
 
{{todo| add and explain Inputs}}
{{I|Send Orders|Triggers the entity and sends the specified orders. Can be refired infinitely.|}}
 
== Outputs ==
{{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