Point velocitysensor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Filled in this stub)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=point_velocitysensor}}
{{base point|point_velocitysensor}} It detects and outputs an entity's velocity.
{{base_point}}


==Entity Description==
== Keyvalues ==
An entity that detects and outputs an entity's velocity.
{{KV|Target Entity Name|target_destination|Name of the entity whose velocity will be sensed.}}
{{KV|Measurement Axis|vecline}}
{{KV|Start Enabled|boolean|Whether or not to start enabled and active.}}
{{KV Targetname}}


==Keyvalues==
== Inputs ==
*{{KV Targetname}}
{{IO|Enable|Enable the sensor.}}
*'''Target Entity Name'''
{{IO|Disable|Disable the sensor.}}
:<target_destination> Name of the entity whose velocity will be sensed.
{{I Targetname}}
*'''Measurement Axis'''
:<vecline>
*'''Start Enabled'''
: <choices> Whether or not to start enabled and active.


==Inputs==
== Outputs ==
*{{I Targetname}}
{{IO|Velocity|Fired when the Target's Velocity changes, passing the new magnitude of the velocity.|param=float}}
*{{I EnableDisable}}
{{O Targetname}}
 
==Outputs==
*{{O Targetname}}
*'''Velocity <float>'''
:Fired when the Target's Velocity changes, passing the new magnitude of the velocity.

Revision as of 05:41, 28 July 2011

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.