diag tickTime: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ") |
||
Line 32: | Line 32: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on 8 Sept, 2010 | <dd class="notedate">Posted on 8 Sept, 2010</dd> | ||
<dt class="note">[[User:Crowe|Crowe]]<dd class="note"> | <dt class="note">[[User:Crowe|Crowe]]<dd class="note"> | ||
In Arma 2 Operation Arrowhead 1.54.0.72888 this returns the time in seconds since the game was started. | In Arma 2 Operation Arrowhead 1.54.0.72888 this returns the time in seconds since the game was started. | ||
<dd class="notedate">Posted on 25 Jan, 2014 | <dd class="notedate">Posted on 25 Jan, 2014</dd> | ||
<dt class="note">[[User:Killzone_Kid|Killzone_Kid]]<dd class="note"> | <dt class="note">[[User:Killzone_Kid|Killzone_Kid]]<dd class="note"> | ||
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. | 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. |
Revision as of 01:01, 30 January 2021
Description
- Description:
- Description needed
- Groups:
- DiagnosisTime
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:
- See also needed
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.