Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private [_unit,_heads,_voices,_uniforms,_vests,_helms,_eyesAll,_eyesNoShem,_shems,_eyes,_head,_voice,_uniform,_vest,_uniform,_helm,_goggles];
- _unit = _this select 0;
- _heads = [
- "PersianHead_A3_01",
- "PersianHead_A3_02",
- "PersianHead_A3_03",
- "AfricanHead_01",
- "AfricanHead_02",
- "AfricanHead_03",
- "GreekHead_A3_02",
- "GreekHead_A3_03"
- ];
- _voices = ["Male01PER","Male02PER","Male03PER"];
- _uniforms = [
- "U_OG_leader",
- "U_OG_Guerilla1_1",
- "U_OG_Guerilla2_1",
- "U_OG_Guerilla2_2",
- "U_OG_Guerilla2_3",
- "U_OG_Guerilla3_1",
- "U_OG_Guerrilla_6_1"
- ];
- _vests = [
- "V_BandollierB_blk",
- "V_BandollierB_cbr",
- "V_BandollierB_rgr",
- "V_BandollierB_khk",
- "V_BandollierB_oli",
- "V_TacVest_blk",
- "V_TacVest_brn",
- "V_TacVest_camo",
- "V_TacVest_khk",
- "V_TacVest_oli",
- "V_I_G_resistanceLeader_F"
- ];
- _helms = [
- "",
- "H_Bandanna_gry",
- "H_Bandanna_cbr",
- "H_Bandanna_khk",
- "H_Bandanna_sand",
- "H_Bandanna_camo",
- "H_HelmetB_snakeskin",
- "H_Shemag_olive",
- "H_ShemagOpen_tan",
- "H_ShemagOpen_khk",
- "H_Beret_blk"
- ];
- _eyesShem = [
- "",
- "G_Lowprofile",
- "G_Shades_Black"
- ];
- _eyesNoShem = [
- "",
- "G_Lowprofile",
- "G_Shades_Black",
- "G_Aviator",
- "G_Balaclava_blk",
- "G_Balaclava_lowprofile",
- "G_Balaclava_oli",
- "G_Bandanna_aviator",
- "G_Bandanna_blk",
- "G_Bandanna_khk",
- "G_Bandanna_oli",
- "G_Bandanna_shades",
- "G_Bandanna_sport",
- "G_Bandanna_tan"
- ];
- _shems = [
- "H_Shemag_olive",
- "H_ShemagOpen_tan",
- "H_ShemagOpen_khk"
- ];
- _head = _heads call BIS_fnc_selectRandom;
- _voice = _voices call BIS_fnc_selectRandom;
- _uniform = _uniforms call BIS_fnc_selectRandom;
- _vest = _vests call BIS_fnc_selectRandom;
- _helm = _helms call BIS_fnc_selectRandom;
- if (_helm in _shems) then {
- _goggles = _eyesShem call BIS_fnc_selectRandom;
- _unit addGoggles _goggles;
- } else {
- _goggles = _eyesNoShem call BIS_fnc_selectRandom;
- _unit addGoggles _goggles;
- };
- removeAllWeapons _unit;
- removeAllItems _unit;
- removeAllAssignedItems _unit;
- removeUniform _unit;
- removeVest _unit;
- removeBackpack _unit;
- removeHeadgear _unit;
- removeGoggles _unit;
- _unit forceAddUniform _uniform;
- _unit addVest _vest;
- _unit addHeadgear _helm;
- _unit addWeapon "";
- _unit addPrimaryWeaponItem "";
- _unit addWeapon "";
- _unit linkItem "ItemMap";
- _unit linkItem "ItemCompass";
- _unit linkItem "ItemWatch";
- _unit linkItem "ItemRadio";
- _unit setFace _head;
- _unit setSpeaker _voice;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement