[14:29:09 | Edited 14:29:28] -[EUTW]- E.C.I.D.: Found this out after a lot of tetsing last night: It is not documented: https://community.bistudio.com/wiki/server.cfg#Arma_2:_Operation_Arrowhead_-_multiple_mission_parameters_configuration the values for value[] can be integer or float, whereas the default value can be integer only. I'm not sure how to add this to the wiki as i am not familiar with editing wikis. whole testing process is here:
[14:29:29] -[EUTW]- E.C.I.D.: [03:20] -[EUTW]- E.C.I.D.:
<<< paramsArray from earlier, bear with me : I think there is a bug in how default value is processed when invoking it via #missions instead of a paramsarray in mission rotation. It seems to round the defaul-value (0.0 to 0.5 == 0) (0.6 to 1.0 ==1) Is it supposed to do that ? What i did to test it you can find here: http://justpaste.it/gjjc I might be wrong - perhaps someone feels like double checking ?
[14:29:46] -[EUTW]- E.C.I.D.: [03:44] -[EUTW]- E.C.I.D.:
<<< Did some more tests: default = 0.5; // 0
default = 0.6 // 1
default = True; // 1
default = False; // 0
default = 123; // 123
default = SeemsIntegerValuesOnly // 0
values[] can have float
default can only have integer
[14:30:30] -[EUTW]- E.C.I.D.: perhaps interisting for one of the Devs. Cheers - E.C.I.D. out
[14:30:53 | Edited 14:31:01] Dwarden (David Foltyn): that's normal value[] always indicates array ... see the normal cfg layout
[14:31:10] -[EUTW]- E.C.I.D.: yes, problem is the following :
[14:31:25] -[EUTW]- E.C.I.D.: you set e.g. 0, ,0.1 and 0.9 for 0% 10% and 90%
[14:31:31] -[EUTW]- E.C.I.D.: now that works via rotation
[14:31:43] -[EUTW]- E.C.I.D.: if you define default =0.5 // should be 50%
[14:32:06] Dwarden (David Foltyn): try use different variable name than default
[14:32:07] -[EUTW]- E.C.I.D.: it rounds that value to 0 as the defaults value is a fixed to int and does not allow float
[14:33:21] -[EUTW]- E.C.I.D.: oh i see. So the default is a fixed variable name and not the default return value for the previous defined parameter .. okay, that makes sense i guess
[14:33:49] Dwarden (David Foltyn): not sure, never needed this so can't really vouch
[14:34:41 | Edited 14:35:14] -[EUTW]- E.C.I.D.: okay. so maybe i found a bug, mybe i did not :D thanks anyways - i just thought i point it out.
[14:38:06] Dwarden (David Foltyn): make it ticke on arma 3 feedback tracker or discusss on a3 forums
[14:38:18] -[EUTW]- E.C.I.D.: kk