Point velocitysensor

From Valve Developer Community
Revision as of 05:41, 28 July 2011 by Barracuda (talk | contribs) (Cleanup)
Jump to navigation Jump to search

Template:Base point It detects and outputs an entity's velocity.

Keyvalues

Target Entity Name ([todo internal name (i)]) <targetname>
Name of the entity whose velocity will be sensed.
Measurement Axis ([todo internal name (i)]) <vector>
Start Enabled ([todo internal name (i)]) <boolean>
Whether or not to start enabled and active.
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

Inputs

Enable
Enable the sensor.
Disable
Disable the sensor.


Outputs

Velocity <floatRedirectInput/float>
Fired when the Target's Velocity changes, passing the new magnitude of the velocity.