Arma 3 Scripting

diag_deltaTime

  • Arma 3 v1.96

Command · also in Time · Markdown · JSON · original wiki page

Description

Returns the duration of the previous frame in seconds

Syntax

diag_deltaTime

Returns: Number

Examples

Example 1

private _frameTime = diag_deltaTime;

Example 2

private _fps = 1 / diag_deltaTime;

See also

diag_tickTime · diag_fps · diag_fpsMin · diag_frameNo · diag_log · time