diag frameNo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma2 |version1= $1 |game2") |
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
||
Line 28: | Line 28: | ||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> |
Revision as of 22:29, 16 June 2021
Description
- Description:
- Returns number of frame currently displayed.
- Groups:
- DiagnosticPerformance Profiling
Syntax
- Syntax:
- diag_frameNo
- Return Value:
- Number
Examples
- Example 1:
_currFrameNo = diag_frameNo;
Additional Information
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 November 19, 2014 - 23:51 (UTC)
- DreadedEntity
- Avoid using hard-coded frame-specific events, the total amount of drawn frames is persistent across all missions. It does not get reset until the game is closed.