cklymowsky 1 Posted April 29, 2018 HI All, I'm trying to figure out how the preInit and postInit attributes work, and I've read a couple of threads Quote https://community.bistudio.com/wiki/Functions_Library_(Arma_3)#Attributes Quote and still am missing something... I thought the following would display "Hello BEAKO" before the mission start but nothing happens. I created: descrition.ext class CfgFunctions { class BEAKO { class preInit { file = "functions\preInit"; class test { preInit = 1; }; }; }; }; initServer.sqf [] call BEAKO_fnc_test; fn_test.sqf (inside folders "functions" sub-folder "preInit") hintC format ["Hello %1",name player]; Share this post Link to post Share on other sites
Grumpy Old Man 3546 Posted April 29, 2018 Since preInit runs before the mission begins or is even initialized, you'll never see the hint. Take a read. In most cases you'd never need preInit or postInit unless you want to run extremely cpu expensive functions where it doesn't impact gameplay (grabbing all buildings on the entire map etc). Cheers Share this post Link to post Share on other sites