info_darknessmode_lightsource

From Valve Developer Community
Jump to navigation Jump to search

info_darknessmode_lightsource is a point entity available in Half-Life 2: Episode One Half-Life 2: Episode One.

Stub

This article or section is a stub. You can help by expanding it.

Entity description

If the map is set to darkness mode using the env_global entity, this entity represents a light source that Alyx can see in and try to go to if hurt.

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


Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
Light Radius ([todo internal name (i)]) <float>
The radius around this lightsource in which Alyx will be able to see enemies.

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs