Point energy ball launcher

From Valve Developer Community

Table of contents

Entity description

An entity that spawns and launches an energy ball periodically.

Availability

This point entity is exclusive to Portal.

Keyvalues

Defines the name that other entities refer to this entity by.
  • hammerid [Episode Two Update]
<integer readonly> This id is used for debugging purposes in Hammer.
Specifies the targetname of this entity's Parent in a movement hierarchy. Child entities move with their Parent.
Pitch Yaw Roll (Y Z X)
This entity's angular orientation in the world (also used for angular effect entities).
  • globalname
<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 globalnames matching entities in the previous map will have the previous map's state copied over their state.
  • 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

  • Enable
Enable this entity.
  • Disable
Disable this entity.
  • LaunchBall
Launch a ball from the spawner.

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
!activator = activator
  • OnPostSpawnBall
Fire when a ball was launched.