Logic measure movement
Jump to navigation
Jump to search
Entity Description
An entity that can measure the movement of an entity relative to another entity and apply that movement to a third entity.


Keyvalues
- Entity to Measure ([todo internal name (i)]) <targetname>
- Entity whose movement you want to measure.
- Measure Reference ([todo internal name (i)]) <targetname>
- The movement of Entity to Measure will be measured relative to this entity.
- Entity to Move ([todo internal name (i)]) <targetname>
- This entity will be moved to mimic the motions of Entity to Measure.
- Movement Reference ([todo internal name (i)]) <targetname>
- The Entity to Move will move relative to this entity.
- Movement scale ([todo internal name (i)]) <float>
- A scale to divide the measured movements by, before applying those movements to the Entity to Move.
1 = target entity moves as much as the measured entity,
2 = target entity moves half as far as the measured entity, and
0.5 = target entity moves twice as far as the measured entity.
- Measurement Type ([todo internal name (i)]) <choices>
- What to measure.
- 0 : Position
- 1 : Eye position
- 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
- SetMeasureTarget <string >
- Set the Entity to Measure, whose movement should be measured.
- SetMeasureReference <string >
- Set the Measure Reference entity.
- Target <string >
- Set the Entity to Move, which will be moved to mimic the measured entity.
- SetTargetReference <string >
- Set the Movement Reference entity.
- SetTargetScale <float >
- Set the scale to divide the measured movements by.
- Enable
- Enable the logic_measure_movement.
- Disable
- Disable the logic_measure_movement.