Search the Community
Showing results for tags 'calculation'.
Found 2 results
Sycholic posted a topic in ARMA 3 - QUESTIONS & ANSWERSThis is mainly for the developers or anyone who actually knows for fact the inner workings of arma physics.... Which model is arma using for calculating ballistic calculations for bullet flight? ASM or ICAO? I see people making mods trying to give 'realism' and they using apparently two different standards according to the ammo data given.Vanilla says ICAO (g7) but also ASM (G1) I just want to make sure that arma can tell the difference.
I'm sure there's a way to minimize the number of lines in this code. I have three variables, each of them needs to get through a simple math function : f(x)=10x. _var1 = 0.2; _var2 = 0.7; _var3 = 0.5; _array = [_var1,_var2,_var3]; _var1 = _var1 * 10; _var2 = _var2 * 10; _var3 = _var3 * 10; If I have let say ten vars, is it better to use the brute way (see snip above), use a foreach command or use a function (optimization wise). Probably the function, isn't it ?