Trigger multiple: Difference between revisions
Jump to navigation
Jump to search
Lyh20000420 (talk | contribs) |
(I'm not sure why it said since L4D1 when it sounds like a L4D series feature, somebody confirm this and maybe make a template for this? The wiki is so bloated with useless information nowadays, it's pain to edit.) |
||
Line 4: | Line 4: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Delay Before Reset|float|Delay in seconds before ''OnTrigger'' can fire again, 0 defaults to 0.2. If set to -1, it will kill itself when triggered (as trigger_once), which means outputs like OnEntireTeamStartTouch can never fire.}} | {{KV|Delay Before Reset|float|Delay in seconds before ''OnTrigger'' can fire again, 0 defaults to 0.2. If set to -1, it will kill itself when triggered (as trigger_once), which means outputs like OnEntireTeamStartTouch can never fire.}} | ||
{{KV|Entire Team Number|choices|If the entire team is touching, fire OnEntireTeamStartTouch | {{KV|only=L4ds|Entire Team Number|choices|If the entire team is touching, fire OnEntireTeamStartTouch.}} | ||
:* 0 : None | :* 0 : None | ||
:* 2 : Survivor | :* 2 : Survivor | ||
:* 3 : Infected | :* 3 : Infected | ||
{{KV|Incapacitated players can trigger|boolean|Whether incapacitated players can trigger. | {{KV|only=L4ds|Incapacitated players can trigger|boolean|Whether incapacitated players can trigger.}} | ||
{{KV|Ghost players can trigger|boolean|Whether ghost survivors can trigger. | {{KV|only=L4ds|Ghost players can trigger|boolean|Whether ghost survivors can trigger.}} | ||
{{KV Trigger}} | {{KV Trigger}} | ||
Revision as of 10:21, 12 September 2021
Template:Base brush It is a volume that fires outputs when a specified type of entity enters or leaves it.
Keyvalues
- Delay Before Reset ([todo internal name (i)]) <float>
- Delay in seconds before OnTrigger can fire again, 0 defaults to 0.2. If set to -1, it will kill itself when triggered (as trigger_once), which means outputs like OnEntireTeamStartTouch can never fire.
- Entire Team Number ([todo internal name (i)]) <choices> (only in
)
- If the entire team is touching, fire OnEntireTeamStartTouch.
- 0 : None
- 2 : Survivor
- 3 : Infected
- Incapacitated players can trigger ([todo internal name (i)]) <boolean> (only in
)
- Whether incapacitated players can trigger.
- Ghost players can trigger ([todo internal name (i)]) <boolean> (only in
)
- Whether ghost 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
- OnStartTouchAll
- Fired when an entity starts touching this trigger, and no other entities are touching it. Only entities that passed this trigger's filters are considered.
- 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.
|