diag tickTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(added Kju example)
Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <pre>_start = diag_tickTime;
//code
_stop = diag_tickTime;
diag_log format ["%1",_stop - _start];</pre>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 14:42, 31 January 2010

Hover & click on the images for description

Description

Description:
Real time spent from the start of the game.
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

Bottom Section