Advertisement
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_Hardware", ["HubBriefing_pointAtTable"], "Exile_Trader_Hardware", "AfricanHead_02", [[],[],[],["U_C_Man_casual_6_F",[]],[],["B_LegStrapBag_black_F",[]],"H_Bandanna_surfer","G_Aviator",[],["","","","","",""]], [4593.86, 5221.87, 1.78182], [0.948163, -0.317785, 0], [0, 0, 1]],
- ["Exile_Guard_01", ["HubBriefing_think"], "", "AfricanHead_03", [[],[],[],["U_C_Mechanic_01_F",[]],[],[],"H_Cap_blu","",[],["","","","","",""]], [4593.46, 5220.8, 1.78173], [0.956656, 0.29122, 0], [0, 0, 1]],
- ["Exile_Trader_Food", ["HubSittingChairA_move1"], "Exile_Trader_Food", "WhiteHead_17", [[],[],[],["U_C_Man_casual_5_F",[]],[],[],"H_Booniehat_tan","",[],["","","","","",""]], [4628.65, 5213.19, 2.94855], [0.959363, 0.282174, 0], [0, 0, 1]],
- ["Exile_Trader_WasteDump", ["HubStandingUB_idle3"], "Exile_Trader_WasteDump", "WhiteHead_07", [[],[],[],["U_C_Poor_1",[]],["V_LegStrapBag_coyote_F",[]],[],"","",[],["","","","","",""]], [4579.79, 5203.96, 1.92514], [0.0581564, 0.998307, 0], [0, 0, 1]],
- ["Exile_Trader_VehicleCustoms", ["Exile_Acts_RepairVehicle01_Animation01"], "Exile_Trader_VehicleCustoms", "GreekHead_A3_07", [[],[],[],["U_I_C_Soldier_Bandit_5_F",[]],[],[],"","",[],["","","","","",""]], [4615.39, 5256.09, 2.146], [0.298974, -0.954261, 0], [0, 0, 1]],
- ["Exile_Trader_Vehicle", ["HubSittingHighB_move1"], "Exile_Trader_Vehicle", "WhiteHead_04", [[],[],[],["U_C_Man_casual_6_F",[]],[],[],"H_Bandanna_surfer_blk","G_Spectacles",[],["","","","","",""]], [4613.58, 5267.96, 2.43162], [-0.933699, -0.358058, 0], [0, 0, 1]],
- ["Exile_Trader_Diving", ["HubStandingUA_move1"], "Exile_Trader_Diving", "GreekHead_A3_08", [[],[],[],["U_C_man_sport_1_F",[]],["V_RebreatherB",[]],[],"H_Bandanna_blu","Exile_Glasses_Diving_NATO",[],["","","","","",""]], [4571.39, 5236.46, 1.52119], [0.99368, -0.112249, 0], [0, 0, 1]],
- ["Exile_Trader_Boat", ["HubStandingUA_idle2"], "Exile_Trader_Boat", "GreekHead_A3_09", [[],[],[],["U_OrestesBody",[]],[],[],"H_Cap_surfer","G_Tactical_Clear",[],["","","","","",""]], [4525.49, 5228.92, 1.58359], [0.947635, -0.319356, 0], [0, 0, 1]],
- ["Exile_Trader_Equipment", ["HubSittingChairUC_move1"], "Exile_Trader_Equipment", "AfricanHead_03", [[],[],[],["U_I_C_Soldier_Para_2_F",[]],[],[],"H_Cap_tan","",[],["","","","","",""]], [4608.35, 5211.35, 3.1251], [0.965948, 0.258735, 0], [0, 0, 1]],
- ["Exile_Trader_Armory", ["InBaseMoves_SittingRifle1"], "Exile_Trader_Armory", "WhiteHead_04", [["M1014","","","",["8rnd_B_Beneli_74Slug",8],[],""],[],[],["U_I_C_Soldier_Bandit_2_F",[["8rnd_B_Beneli_74Slug",2,8]]],["V_Pocketed_black_F",[["8rnd_B_Beneli_74Slug",1,8]]],[],"H_Cap_usblack","G_Shades_Black",[],["","","","","",""]], [4612.81, 5207.02, 3.12444], [0.846509, 0.532374, 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;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement