BIS fnc linearConversion: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
||
Line 36: | Line 36: | ||
[[Category:{{Name|arma2oa}}: Functions|{{uc:linearConversion}}]] | [[Category:{{Name|arma2oa}}: Functions|{{uc:linearConversion}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:linearConversion}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:linearConversion}}]] | ||
Revision as of 02:26, 2 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Math
Syntax
- Syntax:
- Syntax needed
- Parameters:
- Array - [minimumValue,maximumValue] (originalSet)
- Scalar - (originalValue)
- Array - [minimumValue,maximumValue] (newSet)
- Return Value:
- Return value needed
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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