info_player_ping_detector

From Source Entities
Jump to navigation Jump to search

Code classes:

Info target.png

info_player_ping_detector is a point entity present in P2.pngPortal 2. It detects player pings.

Keyvalues[edit | edit source]

Default State (Enabled) <choices>
Is this entity enabled by default or not?
  • 0: Disabled
  • 1: Enabled
Func Tank Entity (FuncTankName) <target_destination>
Name of a func_tank which will turn to look at the location of the last ping.
Team to Observe (TeamToLookAt) <choices>
Which player's pings to detect.
  • 1: Both
  • 2: Orange
  • 3: Blue
Look At Player Pings (LookAtPlayerPings) <boolean>
Always looks at player pings..?

Inputs[edit | edit source]

Enable
Makes the entity active.
Disable
Makes the entity inactive.
Toggle
If on, turn off. If off, turn on.

Outputs[edit | edit source]

OnPingDetected
Fires when a ping is detected. Does not fire if the entity is disabled.

See Also[edit | edit source]