BIS fnc linearConversion: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>") |
||
Line 31: | Line 31: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on Aug 1, 2014 - 23:39</dd> | <dd class="notedate">Posted on Aug 1, 2014 - 23:39</dd> |
Revision as of 13:24, 12 June 2021
Description
Syntax
- Syntax:
- Syntax needed
- Parameters:
- Array - [minimumValue,maximumValue] (originalSet)
- Scalar - (originalValue)
- Array - [minimumValue,maximumValue] (newSet)
- Return Value:
- Scalar (newValue)
Examples
- Examples:
- Example needed
Additional Information
- See also:
- linearConversion
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on Aug 1, 2014 - 23:39
- ffur2007slx2_5
-
(A3 0.50) It is recommended to use linearConversion instead of BIS_fnc_linearConversion:
linearConversion [0,100,50,0,50,true]; //same as [[0,100],50,[0,50]] call BIS_fnc_linearConversion