Trigger ping detector: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Re-arranged some fields)
m (→‎Outputs: Substituted IO templates)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{portal2 brush|trigger_ping_detector}}
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{this is a|brush entity|name=trigger_ping_detector|game=Portal 2}} It fires an output when the pingtool is used in its region.
 
A trigger that detects when the ping tool is used.
 
==Entity description==
Detects whether a player has pinged in its region.


==Keyvalues==
==Keyvalues==
Line 13: Line 8:


==Outputs==
==Outputs==
{{IO|OnOrangePlayerPinged|Fired when the orange player has pinged inside the trigger.}}
{{O|OnOrangePlayerPinged|Fired when the orange player has pinged inside the trigger.}}
{{IO|OnBluePlayerPinged|Fired when the blue player has pinged inside the trigger.}}
{{O|OnBluePlayerPinged|Fired when the blue player has pinged inside the trigger.}}
{{O Targetname}}
{{O Targetname}}


[[Category:Sensor Brush Entities]]
[[Category:Sensor Brush Entities]]

Latest revision as of 23:05, 20 April 2025

English (en)Translate (Translate)

trigger_ping_detector is a brush entity available in Portal 2 Portal 2. It fires an output when the pingtool is used in its region.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

Outputs

OnOrangePlayerPinged
Fired when the orange player has pinged inside the trigger.
OnBluePlayerPinged
Fired when the blue player has pinged inside the trigger.