brujo22

Untitled

Oct 31st, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. /**
  2. * Created with Exile Mod 3DEN Plugin
  3. * www.exilemod.com
  4. */
  5.  
  6. ExileRouletteChairs = [];
  7. ExileRouletteChairPositions = [];
  8.  
  9. // 1 Vehicles
  10. private _vehicles = [
  11. ["Exile_Sign_BoatAndDiving_Small", [13121.3, 8193.26, 3.16147], [0.999997, 0.00256808, 0], [0, 0, 1], false]
  12. ];
  13.  
  14. {
  15. private _vehicle = (_x select 0) createVehicle (_x select 1);
  16. _vehicle allowDamage false;
  17. _vehicle setPosWorld (_x select 1);
  18. _vehicle setVectorDirAndUp [_x select 2, _x select 3];
  19. _vehicle enableSimulationGlobal (_x select 4);
  20. _vehicle setVariable ["ExileIsLocked", -1, true];
  21.  
  22. if (_vehicle isKindOf "Exile_RussianRouletteChair") then
  23. {
  24. ExileRouletteChairs pushBack _vehicle;
  25. ExileRouletteChairPositions pushBack [_x select 1, getDir _vehicle];
  26. };
  27. }
  28. forEach _vehicles;
  29.  
  30. // 10 Simple Objects
  31. private _invisibleSelections = ["zasleh", "zasleh2", "box_nato_grenades_sign_f", "box_nato_ammoord_sign_f", "box_nato_support_sign_f"];
  32. private _simpleObjects = [
  33. ["a3\structures_f_exp\civilian\sheds\shed_07_f.p3d", [13126.6, 8191.99, 3.41405], [0, 1, 0], [0, 0, 1]],
  34. ["ca\misc2\table\chair.p3d", [13126.3, 8193.63, 2.51918], [-0.580646, 0.814156, 0], [0, 0, 1]],
  35. ["ca\misc2\table\table.p3d", [13128.5, 8193.51, 2.4201], [0, 1, 0], [0, 0, 1]],
  36. ["exile_assets\model\exile_item_beer.p3d", [13127.7, 8193.42, 2.82033], [0, 1, 0], [0, 0, 1]],
  37. ["exile_assets\model\exile_item_beer.p3d", [13129.2, 8193.24, 2.82033], [0.101514, -0.994834, 0], [0, 0, 1]],
  38. ["a3\structures_f_epb\naval\fishing\crabcages_f.p3d", [13120.1, 8190.93, 2.55771], [0, 1, 0], [0, 0, 1]],
  39. ["a3\structures_f_epb\naval\fishing\fishinggear_01_f.p3d", [13116.8, 8191.13, 2.28903], [-0.379386, -0.925239, 0], [0, 0, 1]],
  40. ["a3\structures_f_epb\naval\fishing\fishinggear_02_f.p3d", [13125.3, 8187.22, 1.8709], [0.991285, 0.129417, -0.0246022], [0.041331, -0.128213, 0.990885]],
  41. ["a3\structures_f_heli\items\luggage\plasticcase_01_large_f.p3d", [13131.1, 8191.13, 2.34185], [0, 1, 0], [0, 0, 1]],
  42. ["a3\structures_f_heli\items\luggage\plasticcase_01_medium_f.p3d", [13128.8, 8189.93, 2.18283], [0.996707, -0.0810814, 0], [0, 0, 1]]
  43. ];
  44.  
  45. {
  46. private _simpleObject = createSimpleObject [_x select 0, _x select 1];
  47. _simpleObject setVectorDirAndUp [_x select 2, _x select 3];
  48.  
  49. {
  50. if ((toLower _x) in _invisibleSelections) then
  51. {
  52. _simpleObject hideSelection [_x, true];
  53. };
  54. }
  55. forEach (selectionNames _simpleObject);
  56. }
  57. forEach _simpleObjects;
Advertisement
Add Comment
Please, Sign In to add comment