This pictures show the difference between the ADS and the ADS HQ: More information can be found on the official forums.
arma3
Hello, Some of you may have noticed a tweet I sent yesterday about a large server maintenance, here some details… Actually, this is much more than a maintenance, it’s a full migration of a batch of websites and applications (partially listed at the end of this entry) I was forced to perform in emergency because […]
Today is again a patch day! Thanks to your feedback on the last release candidates, I was able to fix most of the issues and even to make two additions Since, it’s more a fix than a release (as states the version number), no need to write a wall of text about it, so, enjoy […]
Stable release of Poseidon Tools today. No need to write additional text, past announcements (dev version) are here: Poseidon Tools development version 0.71 – Fixes Poseidon Tools dev update (0.71.1786) – Community Updater, fixes… As usual, feedback is appreciate (preferably on this thread), thanks! This is not an official tool, you bear the risk. In case […]
Second release of Poseidon Tools development branch! This development update should be the latest before the next stable release (0.72). As usual, there are some fixed issues like the performance problem caused by the bracket highlighter and some other minor issues. Regarding the additions, more the common update of functions and commands, Poseidon Tools continues its […]
Today is a special day! This is the very first time of a public release of a development version ! Like I already announced it in the last news, pair version numbers are public releases, and impairs are internal or development version, so here we go for the version development release version 0.71 rev 1526. It’s mostly […]
Today…. It’s patch day! As usual this update adds the auto completion and highlighter for latest Arma 3 version (pre 1.26) but not only. The first addition has been requested many times since a while, this is a command (ctrl+e, ctrl+p) to generate the “private” statement, based on the text selected. For those who were […]
I must admit, this has been asked and requested many times and I was too lazy to publish something about it… But, today, I’m in holiday and have some free time to do it… The concept is pretty simple, it increases the fuel uptake taking into account the speed of the player vehicle. This script is […]
Return a random value between min and max. Note that if #0 > #1, the function will swap vars. If the random result is lower than min, it returns the min. Same for the max value.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
/* Author: Tom_48_97 Description: Return a random value between min and max. Note that if #0 > #1, the function will swap vars. If the random result is lower than min, it returns the min. Same for the max value. Parameter(s): #0 NUMBER - The minimal value #1 NUMBER - The maximum value #2 BASE - Random result type: "round", "floor", "ceil", "float". Any other value will return a float Example of use: this setFuel ([0.2, 0.5] call tm4_fnc_random); this setPosATL [(getPosATL player select 0) + ([5, 10, "floor"] call bis_fnc_random), (getPosATL player select 1) + ([3, 7, "floor"] call bis_fnc_random), 0.1]; Returns: NUMBER - Integer or float */ private["_this", "_min", "_max", "_base", "_return"]; _min = [_this, 0, 0, [0]] call bis_fnc_param; _max = [_this, 1, 1, [0]] call bis_fnc_param; _base = toLower([_this, 2, "float", ["round", "floor", "ceil", "float"]] call bis_fnc_param); if !(typeName _min == typeName 0) exitWith { ["#0: Must be a NUMBER"] call bis_fnc_error; }; if !(typeName _max == typeName 0) exitWith { ["#1: Must be a NUMBER"] call bis_fnc_error; }; if (_min > _max) then { private ["_tmp1", "_tmp2"]; _tmp1 = _min; _tmp2 = _max; _max = _tmp1; _min = _tmp2; }; _return = random _max; if (_base == 'round') Then { _return = round(_return); }; if (_base == 'floor') Then { _return = floor(_return); }; if (_base == 'ceil' ) Then { _return = ceil(_return); }; if (_return < _min) Then { _return = _min + (random (_max - _min)); }; _return |
Ce billet a valeur d’annonce, Armaholic cherche un ou plusieurs partenaires pour son infrastructure. Armaholic est l’une des plus grandes (si n’est pas la plus grande)  structures autour des jeux de Bohemia Interactive Studio. Existant depuis 2006, et avec une croissance exponentielle… C’est timidement que tout Ă commencĂ© avec une première annĂ©e Ă 440 000 […]