bibi8667

Untitled

Feb 28th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.68 KB | None | 0 0
  1. _objects = [["Land_CncBarrier_stripes_F",[13259.6,14526.4,3.08957],320.095,[[-0.64118,0.766718,0.0321202],[0.0373079,-0.0106622,0.999247]]],["Land_CncBarrier_stripes_F",[13259.2,14524.5,3.08477],231.158,[[-0.778678,-0.627024,0.0223822],[0.0373079,-0.0106622,0.999247]]],["Land_LampHalogen_F",[13276.6,14504.2,8.44382],90.732,[[0.999918,-0.0127748,0],[0,0,1]]],["Land_CncBarrier_stripes_F",[13264.2,14518.4,2.84689],231.165,[[-0.778716,-0.62689,0.0246949],[0.0359766,-0.00532305,0.999338]]],["Land_CncBarrier_stripes_F",[13265.8,14516.3,2.77611],231.165,[[-0.778716,-0.62689,0.0246949],[0.0359766,-0.00532305,0.999338]]],["Land_CncBarrier_stripes_F",[13270.8,14510.1,2.75252],231.212,[[-0.779203,-0.626229,0.0260732],[0.00666818,0.0333142,0.999423]]],["Land_CncBarrier_stripes_F",[13269.1,14512.2,2.69436],231.212,[[-0.779203,-0.626229,0.0260732],[0.00666818,0.0333142,0.999423]]],["Land_CncBarrier_stripes_F",[13267.5,14514.3,2.70505],231.165,[[-0.778716,-0.62689,0.0246949],[0.0359766,-0.00532305,0.999338]]],["Land_CncBarrier_stripes_F",[13283.8,14509.1,2.63659],320.087,[[-0.641606,0.767001,0.00716773],[0.0080009,-0.00265196,0.999964]]],["Land_CncBarrier_stripes_F",[13279.7,14505.7,2.70903],320.115,[[-0.641241,0.767332,-0.00333599],[0.0346456,0.033295,0.998845]]],["Land_CncBarrier_stripes_F",[13277.7,14504,2.81245],320.111,[[-0.641241,0.767211,0.0140487],[0.0346456,0.0106577,0.999343]]],["Land_CncBarrier_stripes_F",[13275.9,14504,2.87435],231.182,[[-0.779104,-0.626826,0.0093285],[0.0173282,-0.00665823,0.999828]]],["Land_CncBarrier_stripes_F",[13289.8,14514.2,2.65771],320.087,[[-0.641626,0.767018,0.000167675],[-0.00133721,-0.00133721,0.999998]]],["Land_CncBarrier_stripes_F",[13285.8,14510.8,2.63763],320.085,[[-0.641627,0.766974,0.00817953],[0,-0.0106641,0.999943]]],["Land_CncBarrier_stripes_F",[13272.5,14508.1,2.80906],231.212,[[-0.779203,-0.626229,0.0260732],[0.00666818,0.0333142,0.999423]]],["Land_CncBarrier_stripes_F",[13287.8,14512.5,2.65567],320.087,[[-0.641627,0.767017,0],[0,0,1]]],["Land_CncBarrier_stripes_F",[13281.7,14507.4,2.64106],320.087,[[-0.641626,0.767017,0.00117617],[-0.00133721,-0.00265204,0.999996]]],["Land_CncBarrier_stripes_F",[13274.2,14506.1,2.86585],231.212,[[-0.779203,-0.626229,0.0260732],[0.00666818,0.0333142,0.999423]]],["Land_HBarrier_1_F",[13285.2,14547.3,2.99498],46.6795,[[0.727528,0.686078,-5.54135e-005],[0.00133688,-0.00133688,0.999998]]],["Land_HBarrier_1_F",[13281.7,14541.3,2.98992],148.558,[[0.521628,-0.853168,-0.00295996],[0.00133688,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13283.3,14538.8,2.98217],148.558,[[0.521629,-0.85317,-0.00226261],[0,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13284.8,14536.4,2.97596],148.558,[[0.521629,-0.85317,-0.00226261],[0,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13281.1,14543.3,2.99608],46.6795,[[0.727528,0.686078,0.00084686],[0.00133688,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13283.2,14545.4,2.99506],46.6795,[[0.727528,0.686078,-5.54135e-005],[0.00133688,-0.00133688,0.999998]]],["Land_HBarrier_1_F",[13287.1,14549,2.99938],46.6797,[[0.727528,0.686075,0.00181947],[0,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13287.5,14532.2,2.97211],149.778,[[0.503349,-0.864083,0],[0,0,1]]],["Land_HBarrier_1_F",[13289.1,14529.6,2.97211],149.778,[[0.503349,-0.864083,0],[0,0,1]]],["Land_HBarrier_1_F",[13286,14534.2,2.97211],148.558,[[0.521629,-0.853173,0],[0,0,1]]],["Land_LampHalogen_F",[13260.1,14525.8,8.66162],185.468,[[-0.0952903,-0.99545,0],[0,0,1]]],["Land_CncBarrier_stripes_F",[13277.3,14541.2,2.67929],320.087,[[-0.641626,0.767012,0.00289215],[0.00133721,-0.00265204,0.999996]]],["Land_CncBarrier_stripes_F",[13275.3,14539.6,2.67746],320.087,[[-0.641626,0.767012,0.00289215],[0.00133721,-0.00265204,0.999996]]],["Land_CncBarrier_stripes_F",[13261.6,14528.1,3.02947],320.101,[[-0.64118,0.766879,0.0280219],[0.0373063,-0.00532279,0.99929]]],["Land_CncBarrier_stripes_F",[13273.3,14537.9,2.70807],320.091,[[-0.641498,0.76698,0.0148804],[0.0199947,-0.00267389,0.999797]]],["Land_CncBarrier_stripes_F",[13265.6,14531.6,2.88792],320.11,[[-0.641079,0.766981,0.0275235],[0.0412979,-0.00133607,0.999146]]],["Land_CncBarrier_stripes_F",[13262.5,14520.4,2.9203],231.159,[[-0.778716,-0.627013,0.0213484],[0.0359766,-0.0106572,0.999296]]],["Land_CncBarrier_stripes_F",[13260.8,14522.5,3.00266],231.159,[[-0.778716,-0.627013,0.0213484],[0.0359766,-0.0106572,0.999296]]],["Land_CncBarrier_stripes_F",[13279.3,14542.9,2.68113],320.087,[[-0.641626,0.767012,0.00289215],[0.00133721,-0.00265204,0.999996]]],["Land_CncBarrier_stripes_F",[13267.7,14533.3,2.8104],320.091,[[-0.641515,0.767,0.0130002],[0.0186628,-0.00133698,0.999825]]],["Land_CncBarrier_stripes_F",[13263.6,14529.9,2.96403],320.101,[[-0.64118,0.766879,0.0280219],[0.0373063,-0.00532279,0.99929]]],["Land_HBarrier_1_F",[13289,14550.7,3.00563],46.68,[[0.727528,0.686068,0.00365443],[0,-0.00532655,0.999986]]],["Land_HelipadCircle_F",[13277.2,14576.9,3.10395],0,[[0,0.997418,0.071814],[0.023991,-0.0717933,0.997131]]],["Land_HBarrier_1_F",[13299.7,14514.5,3.39008],56.1966,[[0.830735,0.556199,0.0228415],[-0.0452868,0.0266297,0.998619]]],["Land_HBarrier_1_F",[13306.6,14519.1,3.45738],56.2665,[[0.831585,0.5553,-0.0103805],[-0.00265204,0.0226602,0.99974]]],["Land_HBarrier_1_F",[13296.8,14515.4,3.25113],151.557,[[0.476009,-0.878799,0.0335924],[-0.0213272,0.026651,0.999417]]],["Land_HBarrier_1_F",[13302.1,14516.2,3.44799],56.2061,[[0.830967,0.556155,0.0136102],[-0.038638,0.0332901,0.998699]]],["Land_HBarrier_1_F",[13295.7,14517.7,3.16648],151.557,[[0.476009,-0.878799,0.0335924],[-0.0213272,0.026651,0.999417]]],["Land_HBarrier_1_F",[13304.4,14517.8,3.48364],56.2061,[[0.830967,0.556155,0.0136102],[-0.038638,0.0332901,0.998699]]],["Land_CncBarrier_stripes_F",[13291.8,14515.9,2.75008],320.123,[[-0.640847,0.767059,-0.0305896],[-0.0492736,-0.00133559,0.998784]]],["Land_CncBarrier_stripes_F",[13293.8,14517.6,2.81164],320.07,[[-0.641481,0.76638,-0.0341257],[-0.0213272,0.026651,0.999417]]],["Weapon_MeleeSword",[13305.5,14534.4,4.54186],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_a2_G36_C_epoch",[13304.3,14534.4,3.49026],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_a2_fnfal_epoch",[13304.7,14534.4,4.13888],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_a2_mk17_epoch",[13305,14534.4,3.09118],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_a2_bizon_epoch",[13306,14534.4,4.012],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["CUP_Weapon_srifle_AWM_des",[13307.3,14534.4,3.079],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_Rollins_F",[13305.6,14534.4,3.467],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_srifle_LRR_F",[13308.7,14534.4,3.403],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["rhs_weapon_M107",[13307,14534.4,4.231],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_srifle_DMR_02_F",[13308.8,14534.4,3.956],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_srifle_GM6_F",[13307.1,14534.4,3.727],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_a2_VSS_vintorez_epoch",[13308.7,14534.4,2.835],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["CUP_Weapon_glaunch_M32",[13310.3,14534.4,2.87],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_a2_svd_epoch",[13308.7,14534.4,4.44],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_hgun_P07_F",[13303.6,14537.7,3.1463],243.853,[[-0.897667,-0.440671,-0.0017895],[-0.00133721,-0.00133688,0.999998]]],["Land_Map_altis_F",[13309.3,14537.8,3.15339],270.805,[[-0.999901,0.0140438,0],[0,0,1]]],["Land_WaterCooler_01_new_F",[13301.7,14535,3.00765],219.958,[[-0.642219,-0.766519,-0.00188353],[-0.00133721,-0.00133688,0.999998]]],["Land_Money_F",[13306,14538.1,3.18428],0,[[0,0.999999,0.00129158],[0,-0.00129158,0.999999]]],["Land_Money_F",[13306.1,14537.9,3.184],0,[[0,0.999999,0.00129158],[0,-0.00129158,0.999999]]],["Land_Money_F",[13307.4,14538.1,3.18416],0,[[0,0.999999,0.00129158],[0,-0.00129158,0.999999]]],["Land_Money_F",[13305.8,14537.9,3.184],0,[[0,0.999999,0.00129158],[0,-0.00129158,0.999999]]],["Land_Money_F",[13307.1,14537.9,3.18397],0,[[0,0.999999,0.00129158],[0,-0.00129158,0.999999]]],["Land_Money_F",[13307.2,14538.2,3.18439],0,[[0,0.999999,0.00129158],[0,-0.00129158,0.999999]]],["Land_WoodenLog_F",[13310.9,14546.1,2.57291],0,[[0,0.999996,0.00265199],[0,-0.00265199,0.999996]]],["Land_WoodenLog_F",[13309,14548.1,2.57825],0,[[0,0.999996,0.00265199],[0,-0.00265199,0.999996]]],["Land_WoodenLog_F",[13307.2,14546.1,2.57061],0,[[0,0.999992,0.00399666],[-0.00133721,-0.00399666,0.999991]]],["Land_WoodenLog_F",[13309.1,14543.8,2.56409],0,[[0,0.999992,0.00399666],[-0.00133721,-0.00399666,0.999991]]],["Land_PaperBox_open_full_F",[13313,14536.1,2.89105],219.94,[[-0.641987,-0.766713,-0.00203332],[0,-0.00265199,0.999996]]],["Land_Tablet_02_F",[13304.7,14537.9,3.18214],200.489,[[-0.350027,-0.936738,-0.00172037],[-0.00133721,-0.00133688,0.999998]]],["Land_WoodenTable_large_F",[13303.8,14537.9,2.71461],82.2286,[[0.990814,0.135221,0.00150571],[-0.00133721,-0.00133688,0.999998]]],["Land_WoodenTable_large_F",[13309.6,14537.8,2.71605],277.466,[[-0.991521,0.129943,0.000167831],[0,-0.00129158,0.999999]]],["Land_WoodenTable_large_F",[13306.6,14538.1,2.71637],270.822,[[-0.999897,0.0143456,1.85285e-005],[0,-0.00129158,0.999999]]],["Land_HBarrier_1_F",[13294.4,14520.1,3.07597],151.573,[[0.476009,-0.879367,0.0113302],[-0.0213272,0.00133691,0.999772]]],["Land_HBarrier_1_F",[13291.7,14525,3.01184],149.783,[[0.503235,-0.864068,0.0118905],[-0.0213272,0.00133691,0.999772]]],["Land_HBarrier_1_F",[13320,14528.7,2.97375],49.7991,[[0.763786,0.645469,0.000833673],[0,-0.00129158,0.999999]]],["Land_HBarrier_1_F",[13290.5,14527.3,2.97754],149.772,[[0.503349,-0.863861,0.0195804],[0,0.0226603,0.999743]]],["Land_HBarrier_1_F",[13292.9,14522.7,3.04023],151.573,[[0.476009,-0.879367,0.0113302],[-0.0213272,0.00133691,0.999772]]],["Land_HBarrier_1_F",[13317.7,14526.7,3.00091],49.8163,[[0.763785,0.645077,-0.0225243],[0.00133688,0.033315,0.999444]]],["Land_HBarrier_1_F",[13308.9,14520.5,3.41339],55.5382,[[0.824068,0.565558,-0.0324978],[-0.00265204,0.0612178,0.998121]]],["Land_HBarrier_1_F",[13313.5,14523.8,3.17919],55.609,[[0.823684,0.563798,-0.0606396],[0.0306514,0.0625143,0.997573]]],["Land_HBarrier_1_F",[13315.7,14525.2,3.05522],55.5109,[[0.82407,0.566136,-0.0199736],[0.00133688,0.033315,0.999444]]],["Land_HBarrier_1_F",[13311.3,14522.3,3.30925],55.5435,[[0.82407,0.565447,-0.0343304],[-0.00133721,0.0625437,0.998041]]],["Land_LampHalogen_F",[13307.2,14526.3,8.33111],80.1634,[[0.985299,0.170838,0],[0,0,1]]],["Land_PhoneBooth_02_F",[13314.7,14533.9,3.32541],195.642,[[-0.26963,-0.962964,0],[0,0,1]]],["Land_Cargo40_white_F",[13307,14533.2,3.6083],0,[[0,1,0],[0,0,1]]],["Land_WoodPile_F",[13313.8,14543.8,2.56162],0,[[0,0.999996,0.00265199],[0.00133688,-0.00265199,0.999996]]],["Land_Graffiti_01_F",[13311.7,14534.4,3.61924],182.579,[[-0.0449966,-0.998987,0],[0,0,1]]],["Land_Pallet_MilBoxes_F",[13301.3,14536.2,2.72674],127.182,[[0.796722,-0.604346,0.000257452],[-0.00133721,-0.00133688,0.999998]]],["Land_TentDome_F",[13298.5,14543.6,2.90514],336.953,[[-0.391489,0.920177,0.00315416],[-0.00133721,-0.00399666,0.999991]]],["Land_Laptop_device_F",[13303.2,14537.6,3.30177],155.091,[[0.421184,-0.906975,-0.000649301],[-0.00133721,-0.00133688,0.999998]]],["Land_Graffiti_03_F",[13302.7,14534.4,3.76105],181.356,[[-0.0236645,-0.99972,0],[0,0,1]]],["Land_MPS_EPOCH",[13304.3,14537.8,3.15177],178.182,[[0.03173,-0.999496,-0.00129377],[-0.00133721,-0.00133688,0.999998]]],["Weapon_launch_NLAW_F",[13310.4,14534.7,3.369],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_launch_B_Titan_F",[13310.4,14534.7,4.333],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Weapon_launch_launch_B_Titan_short_F",[13310.3,14534.7,3.802],0,[[0,1.19249e-008,1],[0,-1,1.19249e-008]]],["Land_HBarrier_1_F",[13309.5,14560.4,3.07365],313.921,[[-0.720281,0.693642,0.00745997],[0.00265199,-0.00800056,0.999964]]],["Land_HBarrier_1_F",[13307.3,14562.3,3.09449],313.921,[[-0.720281,0.693642,0.00745997],[0.00265199,-0.00800056,0.999964]]],["Land_HBarrier_1_F",[13311.2,14558.6,3.05418],313.921,[[-0.720281,0.693642,0.00745997],[0.00265199,-0.00800056,0.999964]]],["Land_HBarrier_1_F",[13313.2,14556.7,3.039],313.922,[[-0.720283,0.693675,0.00280256],[0.00133688,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13315.5,14554.7,3.0307],313.922,[[-0.720283,0.693675,0.00280256],[0.00133688,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13319.2,14551.1,3.01607],313.922,[[-0.720283,0.693675,0.00280256],[0.00133688,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13302.7,14563.7,3.12067],46.6793,[[0.727522,0.686079,0.00258143],[0.00399666,-0.00800053,0.99996]]],["Land_HBarrier_1_F",[13298.8,14560.1,3.09348],46.6816,[[0.727528,0.686028,0.00823267],[0,-0.0119996,0.999928]]],["Land_HBarrier_1_F",[13293.1,14554.7,3.03172],46.6806,[[0.727526,0.68605,0.00650407],[-0.00265204,-0.00666784,0.999974]]],["Land_HBarrier_1_F",[13295,14556.4,3.04789],46.6806,[[0.727526,0.68605,0.00650407],[-0.00265204,-0.00666784,0.999974]]],["Land_HBarrier_1_F",[13317.5,14552.9,3.02334],313.922,[[-0.720283,0.693675,0.00280256],[0.00133688,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13305.1,14564.3,3.11643],313.921,[[-0.720281,0.693642,0.00745997],[0.00265199,-0.00800056,0.999964]]],["Land_HBarrier_1_F",[13296.7,14558,3.06584],46.6825,[[0.727526,0.686005,0.010162],[-0.00265204,-0.0119996,0.999924]]],["Land_HBarrier_1_F",[13300.8,14562,3.11521],46.6793,[[0.727522,0.686079,0.00258143],[0.00399666,-0.00800053,0.99996]]],["Land_HBarrier_1_F",[13291.1,14552.8,3.01847],46.6802,[[0.727528,0.686063,0.00462727],[-0.00133721,-0.00532654,0.999985]]],["Land_LampHalogen_F",[13293.5,14571.3,8.51764],17.2714,[[0.296898,0.954909,0],[0,0,1]]],["Land_Obstacle_Saddle_F",[13315.9,14559.7,2.42613],40.9827,[[0.655828,0.754904,0.00314406],[0.00133721,-0.0053265,0.999985]]],["Land_Obstacle_Saddle_F",[13318.6,14557.4,2.41053],40.9825,[[0.655828,0.75491,0.00112508],[0.00133721,-0.00265204,0.999996]]],["Land_Obstacle_Saddle_F",[13313.2,14562.2,2.44344],40.9827,[[0.655828,0.754904,0.00314406],[0.00133721,-0.0053265,0.999985]]],["Land_ParkingMeter_01_F",[13318.6,14557.4,2.96074],43.5607,[[0.689122,0.724644,0.00100029],[0.00133721,-0.00265204,0.999996]]],["Land_ParkingMeter_01_F",[13313.3,14562.4,2.99417],43.5609,[[0.689122,0.724639,0.00293833],[0.00133721,-0.0053265,0.999985]]],["Land_ParkingMeter_01_F",[13316,14559.7,2.97634],43.5609,[[0.689122,0.724639,0.00293833],[0.00133721,-0.0053265,0.999985]]],["ArrowDesk_R_F",[13311.2,14571.8,2.93732],43.3876,[[0.68693,0.726722,0.0012338],[0.00666818,-0.00800072,0.999946]]],["Land_HBarrier_1_F",[13325.3,14544.9,2.9914],332.597,[[-0.460242,0.887788,0.0029697],[0.00133688,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13321.2,14549.2,3.00838],313.922,[[-0.720283,0.693675,0.00280256],[0.00133688,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13326.4,14542.6,2.98382],332.597,[[-0.460242,0.887788,0.0029697],[0.00133688,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13323.4,14547.2,3.00007],313.922,[[-0.720283,0.693675,0.00280256],[0.00133688,-0.00265199,0.999996]]],["Land_HBarrier_1_F",[13322,14530.5,2.97887],49.7992,[[0.763785,0.645468,0.00188426],[-0.00133721,-0.00133688,0.999998]]],["Land_HBarrier_1_F",[13328.2,14535.6,2.98305],46.6796,[[0.727528,0.686078,0.000939872],[-0.00129187,0,0.999999]]],["Land_HBarrier_1_F",[13327.7,14540.2,2.98235],332.597,[[-0.460242,0.887793,-0.000594574],[-0.00129187,0,0.999999]]],["Land_HBarrier_1_F",[13326.1,14533.5,2.98211],46.6796,[[0.727528,0.686078,0],[0,0,1]]],["Land_HBarrier_1_F",[13324.1,14532.1,2.98211],49.7991,[[0.763786,0.645469,0],[0,0,1]]],["Land_HBarrier_1_F",[13329.1,14537.5,2.9843],332.597,[[-0.460242,0.887793,-0.000594574],[-0.00129187,0,0.999999]]],["Land_Obstacle_Saddle_F",[13324.1,14552.4,2.38996],40.9825,[[0.655828,0.75491,0.00112508],[0.00133721,-0.00265204,0.999996]]],["Land_Obstacle_Saddle_F",[13321.3,14555,2.40045],40.9825,[[0.655828,0.75491,0.00112508],[0.00133721,-0.00265204,0.999996]]],["Land_ParkingMeter_01_F",[13324.1,14552.4,2.94005],43.5607,[[0.689122,0.724644,0.00100029],[0.00133721,-0.00265204,0.999996]]],["Land_ParkingMeter_01_F",[13321.3,14555,2.95066],43.5607,[[0.689122,0.724644,0.00100029],[0.00133721,-0.00265204,0.999996]]]];
  2. if (!isserver) exitwith {};
  3. {
  4. private ['_object'];
  5. _x params ['_type','_pos','_dir','_vectordirandup'];
  6. _simulate = false;
  7. _allowdamage = true;
  8. _object = objnull;
  9. if (_type iskindof 'house') then {
  10. if (_type in ['Land_Pier_F']) exitwith {
  11. _simulate = false;
  12. };
  13. _simulate = true;
  14. }
  15. else {
  16. {
  17. if !(((tolower _type) find (tolower _x)) isequalto -1) exitwith {
  18. _simulate = true;
  19. _allowdamage = false;
  20. };
  21. } foreach ['lamp','light','fuel','fire','gate','helipad'];
  22. };
  23.  
  24. if (_simulate) then {
  25. _object = createVehicle [_type,[0,0,0],[],0,'CAN_COLLIDE'];
  26. if (!_allowdamage) then {
  27. _object allowdamage false;
  28. };
  29. }
  30. else {
  31. _object = createsimpleobject [_type,[0,0,0]];
  32. };
  33. _object setPosWorld _pos;
  34. _object setdir _dir;
  35. _object setVectorDirAndUp _vectordirandup;
  36. } forEach _objects;
Add Comment
Please, Sign In to add comment