// Time to wait in minutes as single script argument.
// waiter.sqf
// Example with 5 mins limit.
// [5]execVM"waiter.sqf"
_timetowait = _this select 0;
while {_timetowait > 0} do
{
if (_timetowait != 1) then
{
cutText[format["%1 minutes left", _timetowait], "PLAIN"];
}
else
{
cutText["One minute left", "PLAIN"];
};
Sleep(60);
_timetowait = _timetowait - 1;
}
cutText["Time is over", "PLAIN"];
| score.sqf // Script that passes in points for dead objects _points = _this select 0; Add points to the BLUFOR team and check accumlated points to end |