Skip to content

Function: time_global()

ts
function time_global(this: void): number;

Get main-thread engine time in milliseconds since executable start.

Parameters

ParameterType
thisvoid

Returns

number

Milliseconds from game executable start.

Remarks

Reads Device.dwTimeGlobal, the frame-updated engine clock.

Example

ts
0, 1000, 60000