Difference between revisions of "cmf utility fnc freezeTime"
Jump to navigation
Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This function will freeze in-game time completly as opposed to skipTime 0 which will still let...") |
|||
Line 19: | Line 19: | ||
|x1= {{code|lang=scilab|[] call cmf_utility_fnc_freezeTime;}} | |x1= {{code|lang=scilab|[] call cmf_utility_fnc_freezeTime;}} | ||
| | |seealso= [[cmf_utility_fnc_submitAAR]] [[cmf_utility_fnc_clearVehicleCargo]] [[cmf_utility_fnc_countDown]] [[cmf_utility_fnc_endLoadingScreen]] | ||
[[cmf_utility_fnc_nearestPlayer]] [[cmf_utility_fnc_preventProne]] [[cmf_utility_fnc_restrictZeus]] [[cmf_utility_fnc_stripUnit]] | |||
|event1= {{!}} GLOBAL {{!}}{{!}} cmf_utility_freezeTime_onDisabled {{!}}{{!}} [] {{!}}{{!}} Is raised when freezeTime is disabled. | |var1= {{!}} GLOBAL {{!}}{{!}} Mission {{!}}{{!}} cmf_utility_freezeTime_disable {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that when is set to true will disable freezeTime | ||
|var2= {{!}} LOCAL {{!}}{{!}} Mission {{!}}{{!}} cmf_utility_freezeTime_handle {{!}}{{!}} A [https://community.bistudio.com/wiki/Script_handle Script Handle] variable containing script handle for the freezeTime loop | |||
|event1= {{!}} GLOBAL {{!}}{{!}} cmf_utility_freezeTime_onDisabled {{!}}{{!}} [ ] {{!}}{{!}} Is raised when freezeTime is disabled. | |||
}} | }} |
Latest revision as of 22:11, 17 December 2022
Description
- Description:
- This function will freeze in-game time completly as opposed to skipTime 0 which will still let time flow at 0.1x. This is called automatically if enabled in cmf_config.hpp
- Execution:
- Call
- Groups:
- CMF3: utility
Syntax
- Syntax:
- [] call cmf_utility_fnc_freezeTime
- Return Value:
- None
Examples
- Example 1:
[] call cmf_utility_fnc_freezeTime;
Additional Information
- See also:
- cmf_utility_fnc_submitAAR cmf_utility_fnc_clearVehicleCargo cmf_utility_fnc_countDown cmf_utility_fnc_endLoadingScreen cmf_utility_fnc_nearestPlayer cmf_utility_fnc_preventProne cmf_utility_fnc_restrictZeus cmf_utility_fnc_stripUnit
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | Mission | cmf_utility_freezeTime_disable | A Boolean variable that when is set to true will disable freezeTime |
LOCAL | Mission | cmf_utility_freezeTime_handle | A Script Handle variable containing script handle for the freezeTime loop |
Events
Locality | Name | Variables | Description |
---|---|---|---|
GLOBAL | cmf_utility_freezeTime_onDisabled | [ ] | Is raised when freezeTime is disabled. |
Notes