Trigger multiple: Difference between revisions
Jump to navigation
Jump to search
(Is this the correct entity? See Co-Op Door) |
m (Cleanup) |
||
Line 1: | Line 1: | ||
{{base brush|trigger_multiple}} It is a volume that fires [[output]]s when a specified type of [[entity]] enters or leaves it. | {{base brush|trigger_multiple}} It is a volume that fires [[output]]s when a specified type of [[entity]] enters or leaves it. | ||
{{sensor brush}} | |||
{{ | |||
== See also == | == See also == | ||
* [[trigger_once]] | * [[trigger_once]] | ||
* [[Inputs and Outputs]] | * [[Inputs and Outputs]] | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Delay Before Reset|integer|Amount of time, in seconds, after the trigger_multiple has triggered before it can be triggered again. If set to -1, it will never trigger again (in which case you should just use a [[trigger_once]]).}} | |||
{{KV|Entire Team Number|choices|If the entire team is touching, fire OnEntireTeamStartTouch|since=L4D}} | |||
:* 0 : None | |||
:* 2 : Survivor | |||
:* 3 : Infected | |||
:* None | {{KV|Incapacitated players can trigger|boolean|Whether ghost players can trigger.|since=L4D}} | ||
:* | {{KV|Ghost players can trigger|boolean|Whether incapacitated survivors can trigger. |since=L4D}} | ||
:* Infected | {{KV Trigger}} | ||
{{KV Trigger}} | {{KV Trigger}} | ||
==Flags== | ==Flags== | ||
{{Fl Trigger}} | |||
==Inputs== | ==Inputs== | ||
{{IO|TouchTest|Tests if the trigger is being touched and fires an output based on whether the value is true or false.}} | |||
{{I Trigger}} | {{I Trigger}} | ||
==Outputs== | ==Outputs== | ||
{{IO|OnTrigger|Fired whenever the trigger is activated.}} | |||
{{IO|OnTouching|Fired when the TestTouch input is true (something is touching the trigger.)}} | |||
{{IO|OnNotTouching|Fired when the TestTouch input is not true (nothing is touching the trigger.)}} | |||
{{IO|OnEntireTeamStartTouch|Fired when an entire team starts touching the trigger.|since=L4D}} | |||
{{IO|OnEntireTeamEndTouch|Fired when an entire team stops touching the trigger.|since=L4D}} | |||
{{O Trigger}} | {{O Trigger}} |
Revision as of 06:28, 3 June 2011
Template:Base brush It is a volume that fires outputs when a specified type of entity enters or leaves it.
See also
Keyvalues
- Delay Before Reset ([todo internal name (i)]) <integer>
- Amount of time, in seconds, after the trigger_multiple has triggered before it can be triggered again. If set to -1, it will never trigger again (in which case you should just use a trigger_once).
- Entire Team Number ([todo internal name (i)]) <choices> (in all games since
)
- If the entire team is touching, fire OnEntireTeamStartTouch
- 0 : None
- 2 : Survivor
- 3 : Infected
- Incapacitated players can trigger ([todo internal name (i)]) <boolean> (in all games since
)
- Whether ghost players can trigger.
- Ghost players can trigger ([todo internal name (i)]) <boolean> (in all games since
)
- Whether incapacitated survivors can trigger.
|
|
Flags
|
Inputs
- TouchTest
- Tests if the trigger is being touched and fires an output based on whether the value is true or false.
|
Outputs
- OnTrigger
- Fired whenever the trigger is activated.
- OnTouching
- Fired when the TestTouch input is true (something is touching the trigger.)
- OnNotTouching
- Fired when the TestTouch input is not true (nothing is touching the trigger.)
- OnEntireTeamStartTouch (in all games since
)
- Fired when an entire team starts touching the trigger.
- OnEntireTeamEndTouch (in all games since
)
- Fired when an entire team stops touching the trigger.
|