Info player ping detector: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) | m (Substituted IO templates) | ||
| Line 15: | Line 15: | ||
| ==Inputs== | ==Inputs== | ||
| {{ | {{I|Enable|Starts listening for pings and will fire outputs when found.}} | ||
| {{ | {{I|Disable|Disable this entity from listening for pings.}} | ||
| {{ | {{I|Toggle|Toggle from Enabled to Disabled and vice versa.}} | ||
| {{I Targetname}} | {{I Targetname}} | ||
| ==Outputs== | ==Outputs== | ||
| {{ | {{O|OnPingDetected|Fired when a ping is detected.}} | ||
| {{O Targetname}} | {{O Targetname}} | ||
Latest revision as of 23:06, 20 April 2025
info_player_ping_detector  is a   point entity  available in  Portal 2. It detects Coop players' pings, and optionally aims a func_tank at the ping location. Used in the campaign for the ping-controlled portal guns at the start of the calibration course.
 Portal 2. It detects Coop players' pings, and optionally aims a func_tank at the ping location. Used in the campaign for the ping-controlled portal guns at the start of the calibration course.
See trigger_ping_detector for the entity that detects pings within a specific area.
Keyvalues
- Func Tank Entity ([todo internal name (i)]) <targetname>
- Name of a func_tank that will be told to look at the ping location when detected.
- Team to Observe ([todo internal name (i)]) <choices>
- Which player's pings to detect.
- 1 : Both
- 2 : Orange
- 3 : Blue
 
- Default State ([todo internal name (i)]) <choices>
- Is this entity enabled by default or not?
- 0 : Disabled
- 1 : Enabled
 
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- Enable
- Starts listening for pings and will fire outputs when found.
- Disable
- Disable this entity from listening for pings.
- Toggle
- Toggle from Enabled to Disabled and vice versa.
Outputs
- OnPingDetected
- Fired when a ping is detected.