Mike84 1 Posted September 23, 2009 There's a bug with the new parameter system when floating point numbers are being used as default param values. part of my description.ext class TimeOfDay // 0 { title = "Time of Day"; values[] = { 5, 7, 12.5, 16, 19, 0 }; texts[] = { "Early Morning", "Morning", "Midday", "Afternoon", "Evening", "Night" }; default = 12.5; }; class Weather // 1 { title = "Weather"; values[] = { 0, 0.5, 0.9 }; texts[] = { "Clear", "Overcast", "Rainy" }; default = 0.9; }; And this is what you'll see in the parameter menu: Value of paramsArray in-game (you can see it is rounding the value): [12,1] The funny thing happens when you set the settings yourself: Value of paramsArray in-game: [12.5,0.9] Thanks in advance, mike 1 Share this post Link to post Share on other sites
Fusselwurm 13 Posted September 24, 2021 https://community.bistudio.com/wiki/Mission_Parameters ^ First sentence states that param values are supposed to be integer. Unfortunately, floats *do* work, except when used as default - in that case, the lobby sets an invalid value. Share this post Link to post Share on other sites