Trigger asw marine position: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{as}}'''trigger_asw_marine_position''' is a [[brush_entity]] available in [[Alien Swarm]] which works like a [[trigger_multiple]] which also checks the direction they're facing.
{{as}}'''trigger_asw_marine_position''' is a [[brush_entity]] available in [[Alien Swarm]] which works like a [[trigger_multiple]] which also checks the direction they're facing.
{{clr}}
{{clr}}
Line 23: Line 22:
; <code>MarineInposition</code>
; <code>MarineInposition</code>
: Fired when the marine is looking within the tolerance of the desired facing.
: Fired when the marine is looking within the tolerance of the desired facing.
; <code>MarineOutOfPosition
; <code>MarineOutOfPosition<code>
: Fired when the marine looks outside the tolerance of the desired faceing.
: Fired when the marine looks outside the tolerance of the desired faceing.
{{O Trigger}}
; <code>OnUser1 - 4</code>
 
: Fire the OnUser outputs; see [[User Inputs and Outputs]].
{{todo| Add the Rest of the outputs and explain them}}
== Inputs ==
== Inputs ==
{{I Trigger}}
; <code>OnUser1 - 4</code>
: Fired in response to the FireUser inputs; see [[User Inputs and Outputs]].
{{todo| Add the Rest of the inputs and explain them}}

Revision as of 18:48, 26 July 2010

Alien Swarmtrigger_asw_marine_position is a brush_entity available in Alien Swarm which works like a trigger_multiple which also checks the direction they're facing.

Keyvalues

Start Disabled
Should the trigger start disabled?
Filter Name
Name of the filter defining what type of entities can activate this trigger. Mostly unecessary in Alien Swarm.
Delay Before Reset
How long after being activated before it can be activated again.
Desired facing
A trigger_multiple which also checks the direction they're facing. up is 90, down is 270, left is 180, right is 360
Tolerance
Number of degrees tolerance either side of the desired yaw. ex. point in the general direction up would be 20 so +/-20 degrees tolerance, and desired would be 90

Flags

  • Marines And Aliens
  • Pushables
  • Physics Objects
  • Only Marines
  • Everything

Outputs

MarineInposition
Fired when the marine is looking within the tolerance of the desired facing.
MarineOutOfPosition
Fired when the marine looks outside the tolerance of the desired faceing.
OnUser1 - 4
Fire the OnUser outputs; see User Inputs and Outputs.
Todo:  Add the Rest of the outputs and explain them

Inputs

OnUser1 - 4
Fired in response to the FireUser inputs; see User Inputs and Outputs.
Todo:  Add the Rest of the inputs and explain them