brujo22

mission_test

May 15th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. /**
  2. * Created with Exile Mod 3DEN Plugin
  3. * www.exilemod.com
  4. */
  5.  
  6. ExileRouletteChairs = [];
  7. ExileRouletteChairPositions = [];
  8.  
  9. // 8 Vehicles
  10. private _vehicles = [
  11. ["TK_GUE_WarfareBBarrier5x_EP1", [865.247, 10466.9, 418.971], [-0.42042, 0.904191, -0.075404], [-0.26784, -0.0442748, 0.962446], true],
  12. ["TK_GUE_WarfareBBarrier5x_EP1", [860.604, 10476.6, 417.777], [-0.420419, 0.898046, -0.129466], [-0.267845, 0.0134916, 0.963367], true],
  13. ["TK_GUE_WarfareBBarrier5x_EP1", [856.836, 10468.9, 415.918], [0.814583, 0.44664, 0.370092], [-0.377769, -0.0756704, 0.922803], true],
  14. ["TK_GUE_WarfareBBarrier5x_EP1", [868.796, 10474.1, 419.768], [0.865096, 0.481988, 0.138907], [-0.182862, 0.0451726, 0.9821], true],
  15. ["B_APC_Tracked_01_CRV_F", [841.259, 10463, 412.439], [0, 0.999968, -0.0080009], [-0.244362, 0.00775834, 0.969653], true],
  16. ["B_HMG_01_high_F", [862.052, 10471.8, 419.312], [0, 0.997829, 0.0658558], [-0.325288, -0.0622742, 0.943562], true],
  17. ["plp_ct_MilBoxMediumBlack", [866.109, 10471.6, 418.901], [0, 1, 0], [-0.225988, 0, 0.97413], true],
  18. ["plp_ct_MilBoxMetalOlive", [865.295, 10473.5, 419.329], [0, 1, 0], [-0.225988, 0, 0.97413], true]
  19. ];
  20.  
  21. {
  22. private _vehicle = (_x select 0) createVehicle (_x select 1);
  23. _vehicle allowDamage false;
  24. _vehicle setPosWorld (_x select 1);
  25. _vehicle setVectorDirAndUp [_x select 2, _x select 3];
  26. _vehicle enableSimulationGlobal (_x select 4);
  27. _vehicle setVariable ["ExileIsLocked", -1, true];
  28.  
  29. if (_vehicle isKindOf "Exile_RussianRouletteChair") then
  30. {
  31. ExileRouletteChairs pushBack _vehicle;
  32. ExileRouletteChairPositions pushBack [_x select 1, getDir _vehicle];
  33. };
  34. }
  35. forEach _vehicles;
  36.  
  37. // 0 Simple Objects
  38. private _invisibleSelections = ["zasleh", "zasleh2", "box_nato_grenades_sign_f", "box_nato_ammoord_sign_f", "box_nato_support_sign_f"];
  39. private _simpleObjects = [
  40.  
  41. ];
  42.  
  43. {
  44. private _simpleObject = createSimpleObject [_x select 0, _x select 1];
  45. _simpleObject setVectorDirAndUp [_x select 2, _x select 3];
  46.  
  47. {
  48. if ((toLower _x) in _invisibleSelections) then
  49. {
  50. _simpleObject hideSelection [_x, true];
  51. };
  52. }
  53. forEach (selectionNames _simpleObject);
  54. }
  55. forEach _simpleObjects;
Advertisement
Add Comment
Please, Sign In to add comment