profcupcake 11 Posted October 29, 2013 Is there any way to call a script or piece of code before getting to the briefing? Preferably, have it as the very first thing that is processed. Share this post Link to post Share on other sites
cuel 25 Posted October 29, 2013 https://community.bistudio.com/wiki/Functions_Library_(Arma_3)#Adding_a_Function Share this post Link to post Share on other sites
moricky 211 Posted October 29, 2013 You can use of the existing init event scripts (e.g. init.sqf or initServer.sqf), or you can configure a preInit function. Share this post Link to post Share on other sites
Mattar_Tharkari 10 Posted October 30, 2013 See example 1 - anything you put in the init.sqf between startLoadingScreen and endLoadingScreen will complete before the loading screen finishes. http://community.bistudio.com/wiki/endLoadingScreen Share this post Link to post Share on other sites
sxp2high 22 Posted October 30, 2013 The init line of the first object placed in the editor will be the first thing executed in your mission. Before init.sqf even. So if you put this into it's init: call (compile preprocessFileLineNumbers "yourscript.sqf"); It will be the first thing that is being run. Loading screen as suggested above is also a must have for the init.sqf imho. Share this post Link to post Share on other sites