point_energy_ball_launcher

From Source Entities
Jump to navigation Jump to search

Code classes:

point_energy_ball_launcher is a point entity present in both P1.pngP2.pngPortal games. It launches prop_energy_balls.

Keyvalues[edit | edit source]

Ball Lifetime (BallLifetime) <float>
How long a ball should stay in the map before exploding.
Min life after portal transition (MinLifeAfterPortal) <float>
When the ball passes through a portal, its lifetime will be set to at least this much.

Inputs[edit | edit source]

BallCaught  (only available in P2.png)
Pointless; fires the OnBallCaught output.

Outputs[edit | edit source]

OnPostSpawnBall
Fires when a ball is spawned.
OnBallCaught  (only available in P2.png)
Fires only when the BallCaught input is sent.