Asw order nearby aliens: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(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!)
Line 1: Line 1:
{{as brush|asw_order_nearby_aliens}} It issues an order to nearby aliens of a specified type.
{{as brush|asw_order_nearby_aliens}} Used to issue one or more orders to nearby aliens of a specified type.


== Recommendations ==
== Recommendations ==
* 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}}
* 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.}}
* can also be used to force the 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.
* Can give immersion by simulating alien inteligence. '''ex. running away or flanking 2 directions when a marine activates a turret'''
* 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>
; <code>Order Radius</code>
: Which type of alien to send orders to.
: 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>
: Which class type of alien to send orders to.
; <code>Alien Orders</code>
; <code>Alien Orders</code>
: Orders given to nearby aliens
: 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>
; <code>Alien Orders Target Name</code>
: Name of the target object for our orders (used by move to and move to ignoring marines orders).
: Name of the target object for our orders (used by the 'Move To').
== Outputs ==
== Outputs ==
; <code>OnUser1 - 4</code>
; <code>OnUser1 - 4</code>
: Fire the OnUser outputs; see [[User Inputs and Outputs]].
: Fire the OnUser outputs; see [[User Inputs and Outputs]].
{{todo| add the rest and explain  the Outputs}}


== Inputs ==
== Inputs ==
; <code>Send Orders</code>
; <code>Send Orders</code>
: activates the entity and well sends the orders given, then goes back to sleep until triggered again
: Triggers the entity and sends the specified orders. Can be refired infinitely.
; <code>OnUser1 - 4</code>
; <code>OnUser1 - 4</code>
: Fired in response to the FireUser inputs; see [[User Inputs and Outputs]].
: Fired in response to the FireUser inputs; see [[User Inputs and Outputs]].
{{todo| add and explain Inputs}}
; <code>Kill</code>
: 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.'''

Revision as of 07:29, 27 July 2010

Template:As brush 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
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
Which class type of alien to send orders to.
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.
Alien Orders Target Name
Name of the target object for our orders (used by the 'Move To').

Outputs

OnUser1 - 4
Fire the OnUser outputs; see User Inputs and Outputs.

Inputs

Send Orders
Triggers the entity and sends the specified orders. Can be refired infinitely.
OnUser1 - 4
Fired in response to the FireUser inputs; see User Inputs and Outputs.
Kill
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.