brujo22

Untitled

Oct 31st, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. /**
  2. * Created with Exile Mod 3DEN Plugin
  3. * www.exilemod.com
  4. */
  5.  
  6. ExileRouletteChairs = [];
  7. ExileRouletteChairPositions = [];
  8.  
  9. // 2 Vehicles
  10. private _vehicles = [
  11. ["Exile_Sign_BoatAndDiving_Small", [4325.6, 2147.98, 4.14746], [-0.47476, -0.880115, 0], [0, 0, 1], false],
  12. ["Land_PortableLight_double_F", [4318.87, 2151.55, 4.08963], [-0.997354, -0.0726988, 0], [0, 0, 1], true]
  13. ];
  14.  
  15. {
  16. private _vehicle = (_x select 0) createVehicle (_x select 1);
  17. _vehicle allowDamage false;
  18. _vehicle setPosWorld (_x select 1);
  19. _vehicle setVectorDirAndUp [_x select 2, _x select 3];
  20. _vehicle enableSimulationGlobal (_x select 4);
  21. _vehicle setVariable ["ExileIsLocked", -1, true];
  22.  
  23. if (_vehicle isKindOf "Exile_RussianRouletteChair") then
  24. {
  25. ExileRouletteChairs pushBack _vehicle;
  26. ExileRouletteChairPositions pushBack [_x select 1, getDir _vehicle];
  27. };
  28. }
  29. forEach _vehicles;
  30.  
  31. // 14 Simple Objects
  32. private _invisibleSelections = ["zasleh", "zasleh2", "box_nato_grenades_sign_f", "box_nato_ammoord_sign_f", "box_nato_support_sign_f"];
  33. private _simpleObjects = [
  34. ["a3\structures_f\households\addons\metal_shed_f.p3d", [4328.84, 2150.56, 4.75834], [-0.894632, 0.446803, 0], [0, 0, 1]],
  35. ["a3\structures_f_epb\naval\fishing\crabcages_f.p3d", [4323.01, 2157.41, 3.5437], [0.889229, -0.457461, 0], [0, 0, 1]],
  36. ["a3\structures_f_epb\naval\fishing\fishinggear_02_f.p3d", [4322.12, 2154.3, 3.24659], [0, 1, 0], [0, 0, 1]],
  37. ["a3\props_f_exp\commercial\market\woodencrate_01_stack_x5_f.p3d", [4345.66, 2196.2, 3.96797], [0.452845, 0.891589, 0], [0, 0, 1]],
  38. ["a3\props_f_exp\commercial\market\woodencrate_01_stack_x5_f.p3d", [4346.46, 2197.59, 3.96797], [-0.892744, 0.450565, 0], [0, 0, 1]],
  39. ["a3\props_f_exp\commercial\market\woodencrate_01_stack_x3_f.p3d", [4344.83, 2193.98, 3.71386], [-0.908074, 0.41881, 0], [0, 0, 1]],
  40. ["a3\structures_f\civ\camping\campingchair_v1_f.p3d", [4333.1, 2153.15, 3.51276], [0.818792, 0.57409, 0], [0, 0, 1]],
  41. ["a3\structures_f\civ\camping\campingchair_v1_f.p3d", [4330.74, 2154.3, 3.51365], [0.153033, 0.988221, 0], [0, 0, 1]],
  42. ["exile_assets\model\exile_item_beer.p3d", [4332.73, 2153.41, 3.00599], [0, 1, 0], [0, 0, 1]],
  43. ["exile_assets\model\exile_item_beer.p3d", [4331.1, 2154.12, 3.00599], [0, 1, 0], [0, 0, 1]],
  44. ["a3\structures_f_heli\items\luggage\metalcase_01_large_f.p3d", [4327.19, 2147.01, 3.37117], [0, 1, 0], [0, 0, 1]],
  45. ["a3\structures_f_heli\items\luggage\metalcase_01_small_f.p3d", [4327.33, 2148.13, 3.15594], [0, 1, 0], [0, 0, 1]],
  46. ["a3\structures_f_heli\items\luggage\plasticcase_01_large_f.p3d", [4330.46, 2146.96, 3.386], [0.446061, 0.895002, 0], [0, 0, 1]],
  47. ["a3\structures_f\naval\rowboats\rowboat_v3_f.p3d", [4334.81, 2174.1, 3.38868], [0.848582, -0.529063, 0], [0, 0, 1]]
  48. ];
  49.  
  50. {
  51. private _simpleObject = createSimpleObject [_x select 0, _x select 1];
  52. _simpleObject setVectorDirAndUp [_x select 2, _x select 3];
  53.  
  54. {
  55. if ((toLower _x) in _invisibleSelections) then
  56. {
  57. _simpleObject hideSelection [_x, true];
  58. };
  59. }
  60. forEach (selectionNames _simpleObject);
  61. }
  62. forEach _simpleObjects;
Advertisement
Add Comment
Please, Sign In to add comment