diag tickTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\| *gr([0-9]) *= *Diagnosis * " to "|gr$1= Diagnostic ")
Line 5: Line 5:
|1.00
|1.00


|gr1= Diagnosis
|gr1= Diagnostic
|gr2= Time
|gr2= Time



Revision as of 00:09, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
DiagnosticTime

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

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

Additional Information

See also:
diag_fpsdiag_fpsMindiag_frameNodiag_logdiag_deltaTimetimesystemTimesystemTimeUTC

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
Posted on 8 Sept, 2010
Crowe
In Arma 2 Operation Arrowhead 1.54.0.72888 this returns the time in seconds since the game was started.
Posted on 25 Jan, 2014
Killzone_Kid
This command will return time since last client restart as float. However because of Number format used in Arma, the more time has past since restart the less precise the returned value will be.