Difference between revisions of "DCS func getTime"
From DCS World Wiki - Hoggitworld.com
(2 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
|par4= | |par4= | ||
− | |desc= Returns the model time in seconds to 3 decimal places. This counts time once the | + | |desc= Returns the model time in seconds to 3 decimal places since the mission has started. This counts time once the mission starts and will pause with the game. |
|rtnType= time | |rtnType= time | ||
Line 38: | Line 38: | ||
|examples= | |examples= | ||
− | + | . | |
if timer.getTime() > 20 then | if timer.getTime() > 20 then | ||
doWhatever() | doWhatever() | ||
Line 46: | Line 46: | ||
}} | }} | ||
[[Category:Singleton Functions|getTime]] | [[Category:Singleton Functions|getTime]] | ||
+ | [[Category:Game Patch 1.2.0|getTime]] |