trigger_playerteam
Jump to navigation
Jump to search
Code classes:
CTriggerPlayerTeam
CBaseTrigger
(triggers)CBaseToggle
CBaseEntity
(all ents)
trigger_playerteam
is a brush entity present in Portal 2. It fires outputs when coop players enter or leave the trigger. This entity is for convenience; all of the its functionality can be done with other entities, but much less efficiently.
Keyvalues[edit | edit source]
- Target Team
(target_team)
<choices>
- Which player can activate this trigger.
- 0: Both
- 3: Blue
- 2: Orange
- Trigger Once
(trigger_once)
<boolean>
- Removes the trigger after it's activated once.
Outputs[edit | edit source]
- OnStartTouchOrangePlayer
- Fires when P-Body has started touching the trigger.
- OnStartTouchBluePlayer
- Fires when ATLAS has started touching the trigger.
- OnEndTouchOrangePlayer
- Fires when P-Body has stopped touching the trigger.
- OnEndTouchBluePlayer
- Fires when ATLAS has stopped touching the trigger.