Logic lineto: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{base point|logic_lineto}} It calculates and outputs a vector from one entity to another.
{{base point|logic_lineto}}  
 
==Entity description==
It calculates and outputs a vector from one entity to another.


== Keyvalues ==
== Keyvalues ==

Revision as of 13:58, 24 May 2012

Template:Base point

Entity description

It calculates and outputs a vector from one entity to another.

Keyvalues

Start entity ([todo internal name (i)]) <targetname>
Name of the entity the line should start from.
End entity ([todo internal name (i)]) <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

Inputs

Outputs

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


See also