BIS fnc progressLoadingScreen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
m (Text replacement - "with [https://community.bistudio.com/wiki/Arma_3:_Cheats#ENDLOAD ENDLOAD cheat code]" to "with the {{Link|Arma 3: Cheats#ENDLOAD|ENDLOAD cheat code}}")
 
(8 intermediate revisions by 2 users not shown)
Line 10: Line 10:


|descr= Progress scripted loading screen. The value will be preserved even when a new screen is opened.
|descr= Progress scripted loading screen. The value will be preserved even when a new screen is opened.
{{Feature|arma3|The loading screen can be force-ended with the {{Link|Arma 3: Cheats#ENDLOAD|ENDLOAD cheat code}}.}}


|s1=[progress] call [[BIS_fnc_progressLoadingScreen]]
|s1= [progress] call [[BIS_fnc_progressLoadingScreen]]


|p1= progress: [[Number]] - Progress in range from 0 to 1
|p1= progress: [[Number]] - progress in range from 0 to 1


|r1= [[Number]] - Progress
|r1= [[Number]] - progress


|x1= <code>[[private]] _IDD = _prog = [0.75] [[call]] [[BIS_fnc_progressLoadingScreen]];</code>
|x1= <sqf>private _IDD = _prog = [0.75] call BIS_fnc_progressLoadingScreen;</sqf>


|seealso= [[Loading Screens]], [[BIS_fnc_displayLoading]]
|seealso= [[Loading Screens]] [[BIS_fnc_displayLoading]]
}}
}}

Latest revision as of 09:44, 6 September 2024

Hover & click on the images for description

Description

Description:
Progress scripted loading screen. The value will be preserved even when a new screen is opened.
Arma 3
The loading screen can be force-ended with the ENDLOAD cheat code.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[progress] call BIS_fnc_progressLoadingScreen
Parameters:
progress: Number - progress in range from 0 to 1
Return Value:
Number - progress

Examples

Example 1:
private _IDD = _prog = [0.75] call BIS_fnc_progressLoadingScreen;

Additional Information

See also:
Loading Screens BIS_fnc_displayLoading

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