Info player ping detector: Difference between revisions
Jump to navigation
Jump to search
(Updated with data from the official portal2.fgd) |
m (Re-arranged some fields) |
||
Line 5: | Line 5: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Team to Observe|choices|Which team's pings to look at.}} | {{KV|Team to Observe|choices|Which team's pings to look at.}} | ||
:* 1 : Both | :* 1 : Both | ||
Line 13: | Line 12: | ||
:* 0 : Disabled | :* 0 : Disabled | ||
:* 1 : Enabled | :* 1 : Enabled | ||
{{KV Targetname}} | |||
==Inputs== | ==Inputs== | ||
{{IO|Enable|Starts listening for pings and will fire outputs when found.}} | {{IO|Enable|Starts listening for pings and will fire outputs when found.}} | ||
{{IO|Disable|Disable this entity from listening for pings.}} | {{IO|Disable|Disable this entity from listening for pings.}} | ||
{{IO|Toggle|Toggle from Enabled to Disabled and vice versa.}} | {{IO|Toggle|Toggle from Enabled to Disabled and vice versa.}} | ||
{{I Targetname}} | |||
==Outputs== | ==Outputs== | ||
{{IO|OnPingDetected|Fired when a ping is detected.}} | |||
{{O Targetname}} | {{O Targetname}} | ||
Revision as of 01:11, 13 May 2011
Entity description
Player Ping Detector. Triggered when the player uses the ping tool on a specific object.
Keyvalues
- Team to Observe ([todo internal name (i)]) <choices>
- Which team's pings to look at.
- 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.