Trigger playerteam: Difference between revisions
Jump to navigation
Jump to search
(Updated with data from the official portal2.fgd) |
m (Re-arranged some fields) |
||
Line 5: | Line 5: | ||
==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 10: | ||
:* 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 19: | ||
==Outputs== | ==Outputs== | ||
{{IO|OnStartTouchOrangePlayer|Orange player has started touching the trigger.}} | {{IO|OnStartTouchOrangePlayer|Orange player has started touching the trigger.}} | ||
{{IO|OnStartTouchBluePlayer|Blue player has started touching the trigger.}} | {{IO|OnStartTouchBluePlayer|Blue player has started touching the trigger.}} | ||
{{IO|OnEndTouchOrangePlayer|Orange player has stopped touching the trigger.}} | {{IO|OnEndTouchOrangePlayer|Orange player has stopped touching the trigger.}} | ||
{{IO|OnEndTouchBluePlayer|Blue player has stopped touching the trigger.}} | {{IO|OnEndTouchBluePlayer|Blue player has stopped touching the trigger.}} | ||
{{O Trigger}} |
Revision as of 01:51, 13 May 2011
Entity description
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.
|