Trigger ping detector: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (→‎Outputs: Substituted IO templates)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<!-- 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|e2|name=trigger_ping_detector|game=Portal 2}} It fires an output when the pingtool is used in its region.
<!-- 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.


==Keyvalues==
==Keyvalues==
Line 8: 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.