Logic lineto: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 7: Line 7:
==Keyvalues==
==Keyvalues==


* {{kv targetname}}
* {{KV Targetname}}


* '''source'''
* '''source'''

Revision as of 19:55, 19 January 2009

Template:Wrongtitle Template:Base point

Entity Description

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

  • source
<target_destination> Name of the entity the line should start from.
  • target
<target_destination> Name of the entity that line should end at.

Inputs

Outputs

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