SetDate

From cluster wiki
Revision as of 14:39, 26 March 2022 by Eric (talk | contribs)
Jump to navigation Jump to search
Description
Description:

This function freezes time entirely unlike setting "skipTime 0" which still moves time at a very slow pace. Run this from init.sqf.

Execution:

call

Groups:

Utilities: Eric's Mission Framework

Syntax
Syntax:

[] call emf_utilities_fnc_setDate

Parameters:

None

Return Value:

Handle - Script handle for setDate loop. (can be terminated with terminate)

Examples
Example 1:
call emf_utilities_fnc_setDate;
Example 2:
// Terminates handle after 10 seconds
_handle = call emf_utilities_fnc_setDate;
sleep 10;
terminate _handle;
Additional Information
See also:


Notes
  • The loop handle is also stored in missionspace as "emf_utilities_setDate_handle"