Epoch/Sources/epoch_code/gui/scripts/Epoch_genderSelection.sqf

7 lines
315 B
Plaintext
Raw Normal View History

2015-10-28 15:16:00 +00:00
_min = safezoneX + 0.4 * safezoneW;
_max = safezoneX + 0.6 * safezoneW;
_r = linearConversion [_min, _max, _this, 0.2, -1, true];
_r2 = linearConversion [_min, _max, _this, 2, 0.8, true];
(findDisplay -7 displayCtrl 88801) ctrlSetPosition [_r,1,1.8];
(findDisplay -7 displayCtrl 88802) ctrlSetPosition [_r2,1,1.8];