Hello everyone I'm still new to arma3 scripting and I'm having problems with a mission countdown.
This is the On Activation callsing [900] execVM "timer.sqf";
And this is the script
private "_time";
_time = _this select 0;
while {_time > 0} do {
_time = _time - 1;
hintSilent format["Time Left: \n %1", [((_time)/60)+.01,"HH:MM"] call BIS_fnc_timetostring];
sleep 1;
};
My question is how do I end the task if the timer comes down to 0