asw_marines_past_area

From Source Entities
Jump to navigation Jump to search

Code classes:

Info target.png

asw_marines_past_area is a point entity present in Asw.pngAlien Swarm. It detects when a certain number of marines are past a certain point. The entity should be coupled with any two CBaseTrigger entities (except for trigger_once) to sent the inputs listed below.

Note: The entity will automatically filter out inputs if the marine who activated was already considered "past" the point, so don't worry about doing any extra setup!

Keyvalues[edit | edit source]

Num Marines (NumMarines) <integer>
How many marines must pass this area for MarinesPast to fire.

Inputs[edit | edit source]

MarineInFront
Tells the entity a marine passed this point.
MarineBehind
Tells the entity that a marine has backtracked to a place before this point.

Outputs[edit | edit source]

MarinesPast
Fires when the desired number of marines are past this point.