This article's documentation is for anything that uses the Source engine. Click here for more information.

logic_lineto

From Valve Developer Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
English (en)Translate (Translate)
Class hierarchy
CLogicLineToEntity
CLogicalEntity
CServerOnlyEntity
CBaseEntity
logicentities.cpp

logic_lineto is a logical entity available in all Source Source games. It calculates and outputs a vector from one entity to another.

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

Outputs

Line <vectorRedirectOutput/Vector>
!activator = !caller = this entity
Fired when the vector, from the start entity to the end entity, changes. Passes along the vector as a parameter.