SHARE
TWEET

SilenceFiction's init.sqf

a guest Jun 4th, 2015 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ["INIT",format["Executing %1 init.sqf",missionName],true] call PO3_fnc_log;
  2.  
  3. [] execVM "Patrol_Ops_3.sqf";
  4.  
  5. if(!isDedicated) then {
  6.     if (player == "B_Soldier_SL_F") then
  7.         {[vabox,["U_B_CombatUniform_mcam","U_B_CombatUniform_mcam_tshirt","Rangefinder","MineDetector"]] call BIS_fnc_addVirtualItemCargo};
  8.         Receiving_finish = false;
  9.         onPreloadFinished { Receiving_finish = true; onPreloadFinished {}; };
  10.         WaitUntil{ !(isNull player) && !isNil "PO3_core_init" && Receiving_finish };
  11. }else{
  12.         WaitUntil{!isNil "PO3_core_init"};
  13. };  
  14.  
  15. if(!isDedicated && !PO3_debug) then {
  16.         playMusic "LeadTrack01a_F";
  17.         0 fadeMusic 1;
  18.         [5,""] spawn PO3_fnc_camera_fadein;
  19.         if!(PO3_debug) then { [270,900,150] call PO3_fnc_introsequence };
  20.         [] spawn { sleep 20; 8 fadeMusic 0; };
  21.  
  22. //External Injury system (Future Mod Support)
  23.         TCB_AIS_PATH = "scripts\ais_injury\";
  24.         {[_x] call compile preprocessFile (TCB_AIS_PATH+"init_ais.sqf")} forEach (if (isMultiplayer) then {playableUnits} else {switchableUnits});              // execute for every playable unit
  25. //External Logistics (Future Mod Support)
  26.         [] execVM "scripts\IgiLoad\IgiLoadInit.sqf";
  27. };
  28.  
  29. ["PO3_taskmaster"] call PO3_fnc_runTaskSequence;
  30.  
  31. [] call PO3_fnc_outrosequence;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top