diag tickTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed resolution of diag_tickTime)
Line 44: Line 44:
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 12:04, 2 November 2011

Hover & click on the images for description

Description

Description:
Real time spent from the start of the game. Expressed in fractions of second. Resolution of 1 tick is 1 ms.
Groups:
Uncategorised

Syntax

Syntax:
diag_tickTime
Return Value:
Number

Examples

Example 1:
_start = diag_tickTime;
//code
_stop = diag_tickTime;
diag_log format ["%1",_stop - _start];

Additional Information

See also:
diag drawModediag fpsdiag fpsmindiag framenodiag logdiag toggle

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

In Arma 2 Operation Arrowhead 1.54.0.72888 this returns the time in seconds since the game was started. --Crowe 19:28, 8 September 2010 (CEST)

Bottom Section