BIS_fnc_linearConversion

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2: Operation Arrowhead version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.00

Description

Description:
Linear conversion of a value from one set to another
Arma 3 logo black.png
This function became obsolete with the introduction of linearConversion
Parameters:
Array - [minimumValue,maximumValue] (originalSet)
Scalar - (originalValue)
Array - [minimumValue,maximumValue] (newSet)
Example 1:
Example needed
See also:
linearConversion

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

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

Bottom Section