Search the Community
Showing results for tags 'does not work'.
Found 1 result
-
Problem with the function "BIS_fnc_startLoadingScreen"
Crazy_Man posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi everyone, I found this topic And in it there is a code given by Larrow : //initPlayerLocal.sqf //Start custom loading screen aswell [] spawn { [ "MyLoadingScreen" ] call BIS_fnc_startLoadingScreen; uiSleep 20; [ "MyLoadingScreen" ] call BIS_fnc_endLoadingScreen; }; waitUntil { //If there are no current loading screens if ( missionnamespace getvariable ["BIS_fnc_startLoadingScreen_ids",[]] isEqualTo [] ) then { //Continue true }else{ //Otherwise log current loading screens to RPT diag_log str ( missionnamespace getvariable ["BIS_fnc_startLoadingScreen_ids",[]] ); false }; }; _loadedTime = time; uiSleep 1; hint format[ "Finished loaded %1 seconds ago", time - _loadedTime ]; It works fine but the problem is that with the function BIS_fnc_startLoadingScreen my loading screen doesn't appears and if i use the command startLoadingScreen it appears. But i need to use the function for the following waitUntil. So : startLoadingScreen ["", "begin_dialog"]; Works fine but can't use with the waitUntil. ["begin_dialog"] call BIS_fnc_startLoadingScreen; Doesn't works! Can anyone help me?-
- function
- bis_fnc_startloadingscreen
- (and 5 more)