{"name":"BIS_fnc_startLoadingScreen","operator":null,"title":"BIS fnc startLoadingScreen","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_startLoadingScreen","revid":369455,"updated":"2024-09-06T08:44:52Z","groups":["Systems"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.58"}],"since":{"game":"arma3","name":"Arma 3","version":"0.58"},"arma3_since":"0.58","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Register a loading screen. Start the loading when it is the first one registered.\n\n> [!NOTE]\n> **Arma 3:** The loading screen can be force-ended with the ENDLOAD cheat code.","syntaxes":[{"syntax":"[screenId, layout] call BIS_fnc_startLoadingScreen","since":null,"effect":null,"exec":null,"params":[{"name":"screenId","type":"String","optional":false,"default":null,"description":"screen ID, will be used in BIS_fnc_endLoadingScreen","types":["String"],"since":null,"text":"screenId: String - screen ID, will be used in BIS_fnc_endLoadingScreen"},{"name":"layout","type":"String","optional":false,"default":null,"description":"loading text. *has no effect in Arma 3*","types":["String"],"since":null,"text":"layout: String - loading text. *has no effect in Arma 3*"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true when registered","text":"Boolean - true when registered"}}],"examples":[{"text":"```sqf\n[\"myLoadingScreen\", \"Loading… wait for my splendid™ mission!\"] call BIS_fnc_startLoadingScreen;\nuiSleep 3;\n\"myLoadingScreen\" call BIS_fnc_endLoadingScreen;\n```","code":["[\"myLoadingScreen\", \"Loading… wait for my splendid™ mission!\"] call BIS_fnc_startLoadingScreen;\nuiSleep 3;\n\"myLoadingScreen\" call BIS_fnc_endLoadingScreen;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_endLoadingScreen","startLoadingScreen","endLoadingScreen"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Systems","Functions","Introduced with Arma 3 version 0.58"],"docblock":null,"filled_from_docblock":[]}