info_darknessmode_lightsource

From Valve Developer Community
Revision as of 08:49, 7 January 2024 by WisdomBot (talk | contribs) (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Jump to navigation Jump to search

info_darknessmode_lightsource is an e0 available in Half-Life 2: Episode One Half-Life 2: Episode One.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{ep1}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Half-Life 2: Episode One.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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>[ Edit ]
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