Skip to content

fuel

Back To Armed Assault Scripts

Refuel vehicle if less than a value of 0.2 every 10 seconds.


Unit Init:

nul = [this] execVM "Fuel.sqf";

fuel.sqf

_unit = _this select 0;

while{alive _unit} do {
    if (fuel _unit <= 0.2) then {
        _unit setFuel 1;
    };
    sleep 10;
};
Opus@Monotonía | © Victor D. Villa, All rights reserved.