CFutbolCatcher

From Source Entities
(Redirected from Prop glass futbol socket)
Jump to navigation Jump to search

Code classes:

CFutbolCatcher is a code class in P2.png.

Classnames:

  • futbol_catcher (Not in FGD) - Invisible entity that catches and holds onto prop_glass_futbols.
  • prop_glass_futbol_socket - Sometimes-visible entity that catches and holds onto prop_glass_futbols. Tries to load a non-existent model (models/props/futbol_socket.mdl), but only when the map is played in co-op.

FGD Code[edit | edit source]

@PointClass studio("models/editor/axis_helper_thick.mdl") base(Targetname,Parentname) = futbol_catcher : "Catches and holds prop_glass_futbols."

[ output OnFutbolCaught(void) : "Fires when a futbol is caught." output OnFutbolReleased(void) : "Fires when a futbol is taken from the holder."

]

Outputs[edit | edit source]

OnFutbolCaught
Fires when a ball is caught or a new one spawned in it.
OnFutbolReleased
Fires when a ball is taken from the holder when that ball hadn't been grabbed before. Bug: Also fires any time a ball is put in the holder.