math_counter
math_counter is an existing point entity available
with all versions of Mapbase.Holds a numeric value and performs arithmetic operations upon it. If either the minimum or maximum legal value is nonzero, OutValue will be clamped to the legal range, and the OnHitMin/OnHitMax outputs will be fired at the appropriate times. If both min and max are set to zero, no clamping is performed and only the OutValue output will be fired.
Inputs
- SetMaxValueNoFire
<float>
Set the upper bound of the counter without firing any outputs.
Set the upper bound of the counter without firing any outputs.
- SetMinValueNoFire
<float>
Set the lower bound of the counter without firing any outputs.
Set the lower bound of the counter without firing any outputs.
Outputs
- OnChangedFromMin
<void>
Fired when the counter value changes from the minimum value.
Fired when the counter value changes from the minimum value.
- OnChangedFromMax
<void>
Fired when the counter value changes from the maximum value.
Fired when the counter value changes from the maximum value.
