trigger_playerteam
trigger_playerteam
is a brush entity available in Portal 2. It triggers different outputs for different players touching the trigger.
Contents
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.
Bug:Spamming crouch jumps in a trigger can randomly fire OnStartTouch . Confirm:Is it a Multiplayer issue only? [todo tested in?]
Warning:This includes entities which are deleted while inside the trigger. In this case !activator will be invalid.
Warning:
OnEndTouch can fire before OnStartTouch under certain circumstances where both are fired on the same tick and each have the same delay. Fix:Add a slight delay to OnEndTouch .Bug:Spamming crouch jump in a trigger can randomly fire OnEndTouch . Confirm:Is it a Multiplayer issue only? [todo tested in?]
|