ScenEdit_SetWeather and numbers
Posted: Fri Jun 22, 2018 9:44 pm
Undercloud is supposed to be 0 to 1.0 in .10 increments.
is it ok to pass in larger numbers like 1.2? it works great, it just gets treated as 1.0.
Also, I get really long decimals when I put in values - like 8/10 frequently becomes .799 or something.
Everything is working really well, it just chooses what ever is closest to an accepted value. Just seeing if this is unsupported or normal/approved behavior.
For example I modify the undercloud by .04 either up or down every xx minutes to give a smooth transition over time. So my undercloud values are never 1 decimal place. Being able to pass in 1.2 is great as it makes the bad weather last longer if my modifier is small. So at midnight a random number is generated between .7 and 1.2 and passed in to the undercloud- if you get 1.2 it will stay foggy for a long time.
is it ok to pass in larger numbers like 1.2? it works great, it just gets treated as 1.0.
Also, I get really long decimals when I put in values - like 8/10 frequently becomes .799 or something.
Everything is working really well, it just chooses what ever is closest to an accepted value. Just seeing if this is unsupported or normal/approved behavior.
For example I modify the undercloud by .04 either up or down every xx minutes to give a smooth transition over time. So my undercloud values are never 1 decimal place. Being able to pass in 1.2 is great as it makes the bad weather last longer if my modifier is small. So at midnight a random number is generated between .7 and 1.2 and passed in to the undercloud- if you get 1.2 it will stay foggy for a long time.