Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Logic measure movement
From HalfLife 2 Knowledge Base
Contents |
[edit]
logic_measure_movement
Source(core) Point Entity
[edit]
description
An entity that can measure the movement of an entity relative to another entity and apply that movement to a third entity.
[edit]
properties
- Name targetname(target_source)
The name that other entities refer to this entity by. - Entity to Measure MeasureTarget(target_destination)
Entity whose movement you want to measure. - Measure Reference MeasureReference(target_destination)
The movement of Entity to Measure will be measured relative to this entity. - Entity to Move Target(target_destination)
This entity will be moved to mimic the motions of Entity to Measure. - Movement Reference TargetReference(target_destination)
The Entity to Move will move relative to this entity. - Movement scale TargetScale(float) - default: 1
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 MeasureType(choices)
- 0 - Position
- 1 - Eye position
[edit]
spawn flags
none.
[edit]
inputs
- Kill(void)
Removes this entity from the world. - KillHierarchy(void)
Removes this entity and all its children from the world. - AddOutput(string)
Adds an entity I/O connection to this entity. Format - FireUser1(void)
Causes this entity's OnUser1 output to be fired. - FireUser2(void)
Causes this entity's OnUser2 output to be fired. - FireUser3(void)
Causes this entity's OnUser3 output to be fired. - FireUser4(void)
Causes this entity's OnUser4 output to be fired.
[edit]
outputs
- OnUser1(void)
Fired in response to FireUser1 input. - OnUser2(void)
Fired in response to FireUser2 input. - OnUser3(void)
Fired in response to FireUser3 input. - OnUser4(void)
Fired in response to FireUser4 input.
[edit]
related tutorials
Submit your tutorial for logic_measure_movement

