estimatedtimeleft param1
I want to use the above line , which is normally placed in the init.sqs
in a script, and its value be returned in the hint box
something basic like this
#start
~60
_countdownmsg=format["You have %1 mins remaining",estimatedtimeleft param1]
hint _countdownmsg
goto "start"
[/i]
when i run it, i get
You have <null> mins remaining
My understanding is that estimatedtimeleft param1
has got to be either a function or a global variable
My problem i believe is my syntax (as it nealry always is)
Could somebody explain what i have done wrong , not just give me the fix, thanks
I have easy ways to work around it using a set of variables etc and a looping counter, so please dont post your timer scripts.
I just want to incorporate the estimatedtimeleft param1