Logic lineto: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=logic_lineto}}
{{base point|logic_lineto}}
{{base_point}}


==Entity Description==
==Entity Description==
An entity that calculates and outputs a vector from one entity to another.
An entity that calculates and outputs a vector from one entity to another.
* See also [[Ai_changetarget]]
* See also [[ai_changetarget]]
==Keyvalues==


* {{KV Targetname}}
== Keyvalues ==
{{KV|Start entity|target_destination|Name of the entity the line should start from.}}
{{KV|End entity|target_destination|Name of the entity that line should end at.}}
{{KV Targetname}}


* '''source'''
== Inputs ==
: <target_destination> Name of the entity the line should start from.
{{I Targetname}}
* '''target'''
: <target_destination> Name of the entity that line should end at.


==Inputs==
== Outputs ==
 
{{IO|Line|Fired when the vector, from the start entity to the end entity, changes. Passes along the vector as a parameter.|param=vector}}
* {{I Targetname}}
{{O Targetname}}
 
==Outputs==
 
* {{O Targetname}}
 
* '''Line <vector>'''
: Fired when the vector, from the start entity to the end entity, changes. Passes along the vector as a parameter.

Revision as of 23:26, 8 June 2011

Template:Base point

Entity Description

An entity that 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.