Logic lineto: Difference between revisions
Jump to navigation
Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{CD|CLogicLineToEntity|file1=logicentities.cpp}} | {{CD|CLogicLineToEntity|file1=logicentities.cpp}} | ||
{{this is a| | {{this is a|point entity|name=logic_lineto}} It calculates and outputs a vector from one entity to another. | ||
== Keyvalues == | == Keyvalues == |
Revision as of 15:45, 17 May 2024
![]() |
---|
CLogicLineToEntity |
![]() |
logic_lineto
is a point entity available in all 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.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Outputs
- Line <vector >
- Fired when the vector, from the start entity to the end entity, changes. Passes along the vector as a parameter.