Math remap: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 25: | Line 25: | ||
*{{I EnableDisableEP1}} | *{{I EnableDisableEP1}} | ||
==Outputs== | ==Outputs== | ||
*{{ | *{{O Targetname}} | ||
*'''OutValue''' <float> | *'''OutValue''' <float> | ||
:Fired when the '''InValue''' input is received, with the remapped input value as the parameter. | :Fired when the '''InValue''' input is received, with the remapped input value as the parameter. |
Revision as of 20:09, 19 January 2009
Template:Wrongtitle Template:Base point
Entity Description
An entity that remaps a range of input values to a given range of output values.
Keyvalues
- 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
- in1 <float>
- Input values below this value will be ignored.
- in2 <float>
- Input values above this value will be ignored.
- out1 <float>
- When the input value is equal to 'Minimum Valid Input Value' (in1), this is the output value.
- out2 <float>
- When the input value is equal to 'Maximum Valid Input Value' (in2), this is the output value.
Flags
- 1 : Ignore out of range input values
Inputs
- InValue <float>
- Input value and fire the output with the remapped value.
Outputs
- OutValue <float>
- Fired when the InValue input is received, with the remapped input value as the parameter.