_ballplayertoucher

From Valve Developer Community
Revision as of 15:43, 13 May 2021 by Amicdict (talk | contribs) (A entity that allows the pass time ball to touch triggers and players.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Team Fortress 2 _ballplayertoucher is a point entity available in Team Fortress 2 Team Fortress 2.

C++ In code, it is represented by theCBallPlayerToucherclass, defined in thetf_passtime_ball.cppfile.

Entity Description

A helper entity for passtime_ball, which spawns along side _ballplayertoucher. This entity is primarily meant to allow passtime_ball to touch triggers and players.

This entity stores the SOLID_VPHYSICS collision flag when not touching a trigger or player. Conversely this entity stores the FSOLID_NOT_SOLID and SOLID_NONE collision flags when touching a trigger or player.

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

OnTouch
Output sent when this entity collides with a player.