point_energy_ball_launcher

From Valve Developer Community

Jump to: navigation, search


Contents

Entity description

An entity that spawns and launches an energy ball periodically.

Availability

This point entity is exclusive to Portal.

Keyvalues

  • Targetname:

Name <string>
The targetname other entities refer to this entity by.
  • Parentname:

Parent <targetname>
Specifies the targetname of this entity's movement parent. Entities with parents move with their parent.
  • Angles:

Pitch Yaw Roll (Y Z X) <angle>
This entity's angular orientation in the world.
  • Global:

Global Entity Name <string>
Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with global names matching entities in the previous map will have the previous map's state copied over to them.
  • Ball Lifetime
<float> The time in seconds the ball will live before self-destructing. A negative value will give infinite life.
  • Min life after portal transition
<float> When energy balls created by this launcher pass, if the remaining lifespan of the ball is less than this value, the lifespan will reset to this value.
  • ballcount
<integer> The amount of balls bouncing around inside the spawner.
  • minspeed
<float> The minimum speed of balls spawned.
  • maxspeed
<float> The maximum speed of balls spawned.
  • ballradius
<float> The radius of the energy balls.
  • balltype
<choices>
Literal Value Description
0 Combine Energy Ball 1
1 Combine Energy Ball 2
2 Combine Energy Ball 3
  • ballrespawntime
<float> The energy balls' respawn time.

Inputs

  • EnableDisable:

Enable
Disable
Enable/disable this entity from performing its task. It might also disappear from view.
  • LaunchBall
Launch a ball from the spawner.

Outputs

  • Targetname:

OnUser1 to OnUser4
Fired in response to the FireUser inputs; see User Inputs and Outputs.
OnKilled (New with Left 4 Dead)
Fired when the entity is killed and removed from the game.
  • OnPostSpawnBall
Fire when a ball was launched.
Personal tools