Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Created with Exile Mod 3DEN Plugin
- * www.exilemod.com
- */
- if (!hasInterface || isServer) exitWith {};
- // 10 NPCs
- private _npcs = [
- ["Exile_Trader_Armory", [], "Exile_Trader_Armory", "WhiteHead_14", [["srifle_DMR_06_olive_F","","","",[],[],""],[],[],["U_Rangemaster",[]],["V_Rangemaster_belt",[]],[],"H_Cap_headphones","G_Shades_Black",[],["","","","","",""]], [4346.77, 3817.52, 226.758], [-0.995347, -0.0963502, 0], [0, 0, 1]],
- ["Exile_Trader_Equipment", [], "Exile_Trader_Equipment", "GreekHead_A3_07", [["arifle_MX_GL_Black_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_I_G_resistanceLeader_F",[]],[],"H_Watchcap_khk","",[],["","","","","",""]], [4347.51, 3812.76, 226.758], [-0.998787, 0.049235, 0], [0, 0, 1]],
- ["Exile_Trader_Food", [], "Exile_Trader_Food", "GreekHead_A3_08", [[],[],[],["U_C_Poloshirt_blue",[]],[],[],"H_Cap_tan","G_Tactical_Clear",[],["","","","","",""]], [4347.32, 3811.32, 226.758], [-0.613193, -0.789933, 0], [0, 0, 1]],
- ["Exile_Trader_Hardware", [], "Exile_Trader_Hardware", "AfricanHead_03", [[],[],[],["U_C_WorkerCoveralls",[]],["V_BandollierB_rgr",[]],["B_UAV_01_backpack_F",[]],"H_Booniehat_khk_hs","",[],["","","","","",""]], [4332.1, 3809.24, 226.765], [0.999131, 0.0416729, 0], [0, 0, 1]],
- ["Exile_Trader_SpecialOperations", [], "Exile_Trader_SpecialOperations", "GreekHead_A3_06", [["arifle_MX_Black_F","","","",[],[],""],[],[],["U_B_CTRG_1",[]],["V_PlateCarrierGL_blk",[]],["B_Parachute",[]],"H_HelmetB_light_black","G_Balaclava_lowprofile",[],["","","","","","NVGoggles_OPFOR"]], [4331.59, 3813.95, 226.765], [0.995871, -0.0907765, 0], [0, 0, 1]],
- ["Exile_Trader_WasteDump", [], "Exile_Trader_WasteDump", "WhiteHead_01", [[],[],[],["U_I_G_Story_Protagonist_F",[]],["V_Rangemaster_belt",[]],[],"H_MilCap_gry","G_Tactical_Clear",[],["","","","","",""]], [4330.9, 3821.18, 226.766], [0.921719, -0.387859, 0], [0, 0, 1]],
- ["Exile_Trader_Aircraft", [], "Exile_Trader_Aircraft", "GreekHead_A3_07", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_PilotHelmetHeli_O","",[],["","","","","",""]], [4378.47, 3832.33, 227.44], [-0.998764, -0.0497041, 0], [0, 0, 1]],
- ["Exile_Trader_Vehicle", [], "Exile_Trader_Vehicle", "WhiteHead_07", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"H_RacingHelmet_4_F","",[],["","","","","",""]], [4365.2, 3748.31, 224.603], [0.296746, 0.954956, 0], [0, 0, 1]],
- ["Exile_Guard_01", [], "", "AfricanHead_03", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","",[],["","","","","",""]], [4335.02, 3779.89, 223.474], [-0.89156, -0.452904, 0], [0, 0, 1]],
- ["Exile_Guard_02", [], "", "AfricanHead_02", [["arifle_Mk20_GL_F","","","",[],[],""],[],[],["U_BG_Guerilla1_1",[]],["V_PlateCarrierIA2_dgtl",[]],[],"H_Hat_camo","G_Tactical_Clear",[],["","","","","",""]], [4327.92, 3785.46, 222.894], [-0.352649, -0.935756, 0], [0, 0, 1]]
- ];
- {
- private _logic = "Logic" createVehicleLocal [0, 0, 0];
- private _trader = (_x select 0) createVehicleLocal [0, 0, 0];
- private _animations = _x select 1;
- _logic setPosWorld (_x select 5);
- _logic setVectorDirAndUp [_x select 6, _x select 7];
- _trader setVariable ["BIS_enableRandomization", false];
- _trader setVariable ["BIS_fnc_animalBehaviour_disable", true];
- _trader setVariable ["ExileAnimations", _animations];
- _trader setVariable ["ExileTraderType", _x select 2];
- _trader disableAI "ANIM";
- _trader disableAI "MOVE";
- _trader disableAI "FSM";
- _trader disableAI "AUTOTARGET";
- _trader disableAI "TARGET";
- _trader disableAI "CHECKVISIBLE";
- _trader allowDamage false;
- _trader setFace (_x select 3);
- _trader setUnitLoadOut (_x select 4);
- _trader setPosWorld (_x select 5);
- _trader setVectorDirAndUp [_x select 6, _x select 7];
- _trader reveal _logic;
- _trader attachTo [_logic, [0, 0, 0]];
- _trader switchMove (_animations select 0);
- _trader addEventHandler ["AnimDone", {_this call ExileClient_object_trader_event_onAnimationDone}];
- }
- forEach _npcs;
Add Comment
Please, Sign In to add comment