Logic lineto: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(-concise page) |
||
Line 1: | Line 1: | ||
{{base point|logic_lineto}} | {{base point|logic_lineto}} It calculates and outputs a vector from one entity to another. | ||
It calculates and outputs a vector from one entity to another. | |||
== Keyvalues == | == Keyvalues == | ||
{{KV|Start entity|target_destination|Name of the entity the line should start from.}} | {{KV|Start entity|intn=source|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|End entity|intn=target|target_destination|Name of the entity that line should end at.}} | ||
{{KV Targetname}} | {{KV Targetname}} | ||
== Outputs == | == 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}} | {{IO|Line|Fired when the vector, from the start entity to the end entity, changes. Passes along the vector as a parameter.|param=vector}} | ||
Revision as of 12:47, 27 October 2022
Template:Base point 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.