Page MenuHomeFeedback Tracker

BIS_fnc_paramWeather expects uncommon parameter
Closed, ResolvedPublic

Description

The function BIS_fnc_paramWeather expects values from 0 to 100 which is uncommon and not used by any other weather command/functions. They all expect values from 0 to 1.

The line of code responsible for this is the following:
[_overcast * 0.01] call bis_fnc_setOvercast;
So there is no real reason to expect values from 0 to 100 and it would match to other funtions when the "* 0.01"would be removed

Details

Legacy ID
3547692381
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce

look at the description of BIS_fnc_paramWeather in the funtionsviewer

Event Timeline

Bohemia edited Steps To Reproduce. (Show Details)Sep 18 2014, 8:41 PM
Bohemia edited Additional Information. (Show Details)
Bohemia set Category to Scripting.
Bohemia set Reproducibility to Always.
Bohemia set Severity to None.
Bohemia set Resolution to No Bug.
Bohemia set Legacy ID to 3547692381.May 7 2016, 7:27 PM

Description.ext params accepts only integers, so the value is multiplied by 100 to achieve desired level of precision.

Mass-closing all resolved issues not updated in the last month.

Please PM me in BI Forums (http://forums.bistudio.com/member.php?55374-Fireball) if you feel your bug was closed in error.