Logic lineto

From Valve Developer Community
Revision as of 15:54, 6 November 2022 by Nescius (talk | contribs) (-added class hierarchy)
Jump to navigation Jump to search
C++ Class hierarchy
CLogicLineToEntity
CLogicalEntity
CServerOnlyEntity
CBaseEntity
C++ logicentities.cpp

Template:Base point It calculates and outputs a vector from one entity to another.

Keyvalues

Start entity (source) <targetname>
Name of the entity the line should start from.
End entity (target) <targetname>
Name of the entity that line should end at.
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

Outputs

Line <vectorRedirectInput/Vector>
Fired when the vector, from the start entity to the end entity, changes. Passes along the vector as a parameter.