prop_energy_ball

From Valve Developer Community
Jump to navigation Jump to search
Icon-callout-not-in-fgd.png
This entity is not in the FGD by default.
See below for instructions on making it available.
Not to be confused with prop_combine_ball.
C++ Class hierarchy
CPropEnergyBall
CPhysicsProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_energy_ball is a model entity available in Portal seriesPortal series Portal series.

prop_energy_ball is a testing element used in portal. However, the entity is still usable in Portal 2 but you have to fix the texture. This entity has a very similar appearance to prop_combine_ball and has functions similar to prop_combine_ball.

Note.pngNote: The size of the ball can't be controlled and will always be very small. Use point_energy_ball_launcher instead.

Keyvalues

Name (targetname) <string>
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

Explode
Explode.
SetTime  (only in Portal 2: Community Edition)
Set how much time the ball should have left before exploding.

FGD Code

@PointClass base(Targetname) iconsprite("effects/eball_finite_life.vmt") = prop_energy_ball :
	"The actual ball created by point_energy_ball_launcher."
[
	input explode(void) : "Explode this ball."
]

See also