env_lightrail_endpoint

From Valve Developer Community

Revision as of 03:11, 20 January 2009 by VDCBot (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Contents

Entity Description

Special effects for the endpoints of the lightrail.

Availability

This point entity is exclusive to Portal.

Keyvalues

  • Targetname:

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

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

Parent <targetname>
Specifies the targetname of this entity's movement parent. Entities with parents move with their parent.
  • small_fx_scale
<float> Scale of the small effect. 1 is the default size, 2 is twice that, etc.
  • large_fx_scale
<float> Scale of the large effect. 1 is the default size, 2 is twice that, etc.

Flags

1: Start On (w/ Small FX)

2: Start With Large FX

Note:Flag 2 is only mentioned as a comment in the FGD file. To enable it, remove the // behind the flag in the FGD.

Inputs

  • Targetname:

Kill
Removes this entity from the world.
KillHierarchy
Removes this entity and all its children from the world.
AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1 to FireUser4
Fire the OnUser outputs; see User Inputs and Outputs.
  • StartCharge
<float> Start charging the endpoint from the small to large state over a specified amount of seconds.
  • StartSmallFX
<float> Start discharging particles at the small effects state over specified number of seconds.
  • StartLargeFX
<float> Start discharging particles at the large effects state over specified number of seconds.
  • Stop
<float> Stops the effect at any point.

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.
Personal tools