uiTime

From Bohemia Interactive Community
Revision as of 18:46, 26 December 2024 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.20 |gr1= Time |gr2= Mission Information |descr= Returns UI time elapsed since mission started (in seconds). Unlike time the uiTime does not stop when game is paused. |s1= uiTime |r1= Number |x1= <sqf> private _future = uiTime + 30; waitUntil { uiTime >= _future }; // continue after 30 seconds </sqf> |seealso= uiSleep time date dayTime serverTime skipTime accT...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns UI time elapsed since mission started (in seconds). Unlike time the uiTime does not stop when game is paused.
Groups:
TimeMission Information

Syntax

Syntax:
uiTime
Return Value:
Number

Examples

Example 1:
private _future = uiTime + 30; waitUntil { uiTime >= _future }; // continue after 30 seconds

Additional Information

See also:
uiSleep time date dayTime serverTime skipTime accTime dateToNumber timeMultiplier setTimeMultiplier missionStart diag_tickTime diag_deltaTime systemTime systemTimeUTC BIS_fnc_timeToString

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