Logic lineto: Difference between revisions
Jump to navigation
Jump to search
(Cleanup) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{base point|logic_lineto}} | {{base point|logic_lineto}} It calculates and outputs a vector from one entity to another. | ||
== Keyvalues == | == Keyvalues == | ||
Line 16: | Line 12: | ||
{{IO|Line|Fired when the vector, from the start entity to the end entity, changes. Passes along the vector as a parameter.|param=vector}} | {{IO|Line|Fired when the vector, from the start entity to the end entity, changes. Passes along the vector as a parameter.|param=vector}} | ||
{{O Targetname}} | {{O Targetname}} | ||
== See also == | |||
* [[ai_changetarget]] |
Revision as of 17:25, 26 July 2011
Template:Base point 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
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
Outputs
- Line <vector >
- Fired when the vector, from the start entity to the end entity, changes. Passes along the vector as a parameter.