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, search
class hierarchy
CLogicLineToEntity defined in logicentities.cpp
CLogicalEntity
CServerOnlyEntity
CBaseEntity

logic_lineto is a point entity available in all Source Source games. 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.

Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Outputs

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