Trigger playerteam: Difference between revisions
Jump to navigation
Jump to search
(Updated with data from the official portal2.fgd) |
m (→Outputs: Substituted IO templates) |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{this is a|brush entity|name=trigger_playerteam|game=Portal 2}} It triggers different outputs for different players touching the trigger. | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Target Team|choices|Which team (or all) to allow to touch this trigger.}} | {{KV|Target Team|choices|Which team (or all) to allow to touch this trigger.}} | ||
:* 0 : Both | :* 0 : Both | ||
Line 11: | Line 7: | ||
:* 3 : Blue | :* 3 : Blue | ||
{{KV|Trigger Once|boolean|Only trigger once, then remove the trigger.}} | {{KV|Trigger Once|boolean|Only trigger once, then remove the trigger.}} | ||
{{KV Trigger}} | |||
==Flags== | ==Flags== | ||
Line 19: | Line 16: | ||
==Outputs== | ==Outputs== | ||
{{O|OnStartTouchOrangePlayer|Orange player has started touching the trigger.}} | |||
{{O|OnStartTouchBluePlayer|Blue player has started touching the trigger.}} | |||
{{O|OnEndTouchOrangePlayer|Orange player has stopped touching the trigger.}} | |||
{{O|OnEndTouchBluePlayer|Blue player has stopped touching the trigger.}} | |||
{{O Trigger}} | {{O Trigger}} | ||
Latest revision as of 23:06, 20 April 2025
trigger_playerteam
is a brush entity available in Portal 2. It triggers different outputs for different players touching the trigger.
Keyvalues
- Target Team ([todo internal name (i)]) <choices>
- Which team (or all) to allow to touch this trigger.
- 0 : Both
- 2 : Orange
- 3 : Blue
|
Flags
|
Inputs
|
Outputs
- OnStartTouchOrangePlayer
- Orange player has started touching the trigger.
- OnStartTouchBluePlayer
- Blue player has started touching the trigger.
- OnEndTouchOrangePlayer
- Orange player has stopped touching the trigger.
- OnEndTouchBluePlayer
- Blue player has stopped touching the trigger.
|