Alternativly you can also start a timer at map start and use "Elapsed time of timer" to get the current game time.
You can also use the native function "Misstion Time", that returnes the elapsed game time seconds as real.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi,
im searching for a method to save the actually playtime in a variable. I don't found any options to do this. Can u plz help me?
Edit: i want to calculate with the timeofday. I found a variable "Time of the Day" but i need is as a real or integer variable that i can make mathic.
The Format from timeofday its xx:xx:xx; also 00:01:30 convert in int or real 90
How can i make this? Sorry for my bad english ;-)
Thanks M0rt3
Just make a new integer variable, and add 1 to it every game time second.
Alternativly you can also start a timer at map start and use "Elapsed time of timer" to get the current game time. You can also use the native function "Misstion Time", that returnes the elapsed game time seconds as real.