Ballplayertoucher: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{entity|type=point|_ballplayertoucher}} | {{entity|type=point|_ballplayertoucher|game=Team Fortress 2}} | ||
{{code class|CBallPlayerToucher|tf_passtime_ball.cpp}} | {{code class|CBallPlayerToucher|tf_passtime_ball.cpp}} | ||
Revision as of 15:44, 13 August 2023
Entity description
Its a helper entity for thepasstime_ballentity, which spawns alongside_ballplayertoucheritself. This entity allowspasstime_ballto collide with triggers and players.
Interestingly, this entity stores the collision flagSOLID_VPHYSICSwhen not touching a trigger or player; Conversely it however stores two collision flags:FSOLID_NOT_SOLIDandSOLID_NONEwhen otherwise.
Keyvalues
Inputs
Outputs
- OnTouch !FGD
- Output sent when this entity collides with a player.