OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: NoBrainer on 30 Apr 2010, 22:59:25

Title: Help with countdown counter
Post by: NoBrainer on 30 Apr 2010, 22:59:25
I'm such a n00b at this, but I need some help with a counter.

I would like a counter that count's down the time you have left in the mission.
It should be visible all the time and update every second.

Lets say a 30 minutes count down for all players in multiplayer.
It would be best if it didn't interfere with any other info from ArmA2.

In ArmA, BIS had one mission where I saw this, a coop for 6. If it could something like that it would be awesome.

Do you have any ideas on how to do this?


Best retard NoBrainer


Edit:
Seems like I'm searching the wrong forum...
http://www.ofpec.com/forum/index.php?topic=28616.0
Title: Re: Help with countdown counter
Post by: hoz on 01 May 2010, 04:02:28
Try my little count down  (http://www.ofpec.com/ed_depot/index.php?action=details&id=349&game=ArmA)script.
Title: Re: Help with countdown counter
Post by: NoBrainer on 01 May 2010, 17:32:51
Thanks!

Will check it out!

Edit:
Your counter works great. I have modified the placement of the counter and the size of the digits. Just so it would fit better into my scenario.
If I could come with 1 suggestion: also implement MM:SS, and in the readme say more clearly that you use seconds all the way. Used some time to figure that one out.

Maybe also a field for execution of a script or setting a variable?