Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////////////////////////////////////////////////////////////////////////
- // LHS Aircraft Carrier trader
- ////////////////////////////////////////////////////////////////////////////
- /**
- * Created with Exile Mod 3DEN Plugin
- * www.exilemod.com
- */
- if (!hasInterface || isServer) exitWith {};
- // 5 NPCs
- private _npcs = [
- ["Exile_Trader_Boat", ["HubStanding_idle1"], "Exile_Trader_CommunityCustoms", "WhiteHead_03", [["SMG_02_F","","","",["30Rnd_9x21_Mag_SMG_02",30],[],""],[],[],["CUP_B_USMC_Navy_Blue",[["30Rnd_9x21_Mag_SMG_02",2,30]]],["CUP_V_B_LHDVest_Blue",[]],[],"","rhs_googles_clear",[],["","","","","",""]], [14393.7, 9479.78, 16.6747], [-0.698627, 0.715486, 0], [0, 0, 1]],
- ["Exile_Trader_WasteDump", ["HubStandingUB_idle1"], "Exile_Trader_WasteDump", "WhiteHead_21", [[],[],[],["U_I_G_Story_Protagonist_F",[]],["V_Rangemaster_belt",[]],[],"H_MilCap_gry","G_Aviator",[],["","","","","",""]], [14435.7, 9402.89, 16.6699], [0.4885, -0.872564, 0], [0, 0, 1]],
- ["Exile_Trader_Equipment", ["HubSittingChairA_idle1"], "Exile_Trader_Equipment", "AfricanHead_03", [["arifle_MX_GL_Black_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_I_G_resistanceLeader_F",[]],[],"H_Watchcap_khk","rhs_googles_orange",[],["","","","","",""]], [14400.9, 9468.08, 16.6822], [-0.996779, -0.0801988, 0], [0, 0, 1]],
- ["Exile_Trader_Armory", ["AmovPsitMstpSrasWrflDnon_WeaponCheck1"], "Exile_Trader_Armory", "WhiteHead_11", [["srifle_DMR_06_olive_F","","","",[],[],""],[],[],["U_Rangemaster",[]],["V_Rangemaster_belt",[]],[],"H_Cap_headphones","G_Shades_Black",[],["","","","","",""]], [14394.6, 9476.31, 16.7257], [-0.966442, -0.256885, 0], [0, 0, 1]],
- ["Exile_Trader_Aircraft", ["c4coming2cDf_genericstani1"], "Exile_Trader_Aircraft", "WhiteHead_05", [["CUP_smg_MP5A5","","","",["CUP_30Rnd_9x19_MP5",30],[],""],[],[],["U_I_pilotCoveralls",[["CUP_30Rnd_9x19_MP5",3,30]]],[],[],"H_PilotHelmetHeli_O","",[],["","","","","",""]], [14389.4, 9476.86, 16.6733], [-0.718199, 0.695837, 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