Info player ping detector: Difference between revisions
Jump to navigation
Jump to search
(Clarify what this entity does) |
(the func_tank is optional, this can also just be used as a map-wide ping detector) |
||
Line 1: | Line 1: | ||
{{portal2 point|info_player_ping_detector}} It detects Coop players' pings and aims a {{ent|func_tank}} at the ping location. Used in the campaign for the ping-controlled portal guns at the start of the calibration course. | {{portal2 point|info_player_ping_detector}} It detects Coop players' pings, and optionally aims a {{ent|func_tank}} at the ping location. Used in the campaign for the ping-controlled portal guns at the start of the calibration course. | ||
See {{ent|trigger_ping_detector}} for the entity that detects pings within a specific area. | See {{ent|trigger_ping_detector}} for the entity that detects pings within a specific area. | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Func Tank Entity|targetname|Name of | {{KV|Func Tank Entity|targetname|Name of a func_tank that will be told to look at the ping location when detected.}} | ||
{{KV|Team to Observe|choices|Which player's pings to | {{KV|Team to Observe|choices|Which player's pings to detect.}} | ||
:* 1 : Both | :* 1 : Both | ||
:* 2 : Orange | :* 2 : Orange |
Revision as of 20:25, 7 July 2023
Template:Portal2 point 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.
parentname
ortarget
).
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.