Advertisement
brujo22

ne boat trader chern

Jun 2nd, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. /**
  2. * Created with Exile Mod 3DEN Plugin
  3. * www.exilemod.com
  4. */
  5.  
  6. ExileRouletteChairs = [];
  7. ExileRouletteChairPositions = [];
  8.  
  9. // 11 Vehicles
  10. private _vehicles = [
  11. ["Exile_Sign_BoatAndDiving_Small", [13121.3, 8193.26, 3.16147], [0.999997, 0.00256808, 0], [0, 0, 1], true],
  12. ["Land_Shed_07_F", [13126.6, 8191.99, 3.41405], [0, 1, 0], [0, 0, 1], true],
  13. ["FoldChair", [13126.3, 8193.63, 2.51918], [-0.580646, 0.814156, 0], [0, 0, 1], true],
  14. ["FoldTable", [13128.5, 8193.51, 2.4201], [0, 1, 0], [0, 0, 1], true],
  15. ["Exile_Cosmetic_Beer", [13127.7, 8193.42, 2.82033], [0, 1, 0], [0, 0, 1], true],
  16. ["Exile_Cosmetic_Beer", [13129.2, 8193.24, 2.82033], [0.101514, -0.994834, 0], [0, 0, 1], true],
  17. ["Land_CrabCages_F", [13120.1, 8190.93, 2.55771], [0, 1, 0], [0, 0, 1], true],
  18. ["Land_FishingGear_01_F", [13116.8, 8191.13, 2.28903], [-0.379386, -0.925239, 0], [0, 0, 1], true],
  19. ["Land_FishingGear_02_F", [13125.3, 8187.22, 1.8709], [0.991285, 0.129416, -0.0246019], [0.0413308, -0.128213, 0.990885], true],
  20. ["Land_PlasticCase_01_large_F", [13131.1, 8191.13, 2.34185], [0, 1, 0], [0, 0, 1], true],
  21. ["Land_PlasticCase_01_medium_F", [13128.8, 8189.93, 2.18283], [0.996707, -0.0810814, 0], [0, 0, 1], true]
  22. ];
  23.  
  24. {
  25. private _vehicle = (_x select 0) createVehicle (_x select 1);
  26. _vehicle allowDamage false;
  27. _vehicle setPosWorld (_x select 1);
  28. _vehicle setVectorDirAndUp [_x select 2, _x select 3];
  29. _vehicle enableSimulationGlobal (_x select 4);
  30. _vehicle setVariable ["ExileIsLocked", -1, true];
  31.  
  32. if (_vehicle isKindOf "Exile_RussianRouletteChair") then
  33. {
  34. ExileRouletteChairs pushBack _vehicle;
  35. ExileRouletteChairPositions pushBack [_x select 1, getDir _vehicle];
  36. };
  37. }
  38. forEach _vehicles;
  39.  
  40. // 0 Simple Objects
  41. private _invisibleSelections = ["zasleh", "zasleh2", "box_nato_grenades_sign_f", "box_nato_ammoord_sign_f", "box_nato_support_sign_f"];
  42. private _simpleObjects = [
  43.  
  44. ];
  45.  
  46. {
  47. private _simpleObject = createSimpleObject [_x select 0, _x select 1];
  48. _simpleObject setVectorDirAndUp [_x select 2, _x select 3];
  49.  
  50. {
  51. if ((toLower _x) in _invisibleSelections) then
  52. {
  53. _simpleObject hideSelection [_x, true];
  54. };
  55. }
  56. forEach (selectionNames _simpleObject);
  57. }
  58. forEach _simpleObjects;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement