SHARE
TWEET

UAV

Pwner-Actual Mar 19th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // =======================================================================================
  2. // =======================================  SETUP  =======================================
  3. // =======================================================================================
  4. // INSTRUCTIONS
  5. // =======================================================================================
  6. /*
  7.     USAGE   :   Clients only.
  8.    
  9.     PURPOSE :   Create UAV intro at mission start.
  10. */
  11. // =======================================================================================
  12. // CLIENTS ONLY
  13. // =======================================================================================
  14. if (!hasInterface) exitWith {};
  15. // =======================================================================================
  16. // UAV SHOT
  17. // =======================================================================================
  18. if (UAF_playUAV == 1) then {
  19. [] spawn {
  20.         [                   // Define camera position properties
  21.             UAF_camTar,     // Camera target position ("marker" or object)
  22.             UAF_text,       // Text to display
  23.             UAF_camAlt,     // Camera's altitude in meters (z)
  24.             UAF_camDis,     // Camera's radius distance in meters (x)
  25.             UAF_camAng,     // Angle in degrees (y)
  26.             PWNR_camRot,    // Camera rotation (counter-clockwise = 0 / clockwise = 1)
  27.             []
  28.         ] spawn BIS_fnc_establishingShot;  
  29.     };     
  30. };
  31. // =======================================================================================
  32. // REMOVE EVENTHANDLER (used to play UAV intro only when laoding screen complete)
  33. // =======================================================================================
  34. ["startMission","onPreloadFinished"] call BIS_fnc_removeStackedEventHandler;
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
 
Top