Skip to content

Instantly share code, notes, and snippets.

@jameslkingsley
Created January 3, 2018 22:14
Show Gist options
  • Save jameslkingsley/791ff5ed01816dec8bfe9cfa190033c0 to your computer and use it in GitHub Desktop.
Save jameslkingsley/791ff5ed01816dec8bfe9cfa190033c0 to your computer and use it in GitHub Desktop.
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
private _uniform = selectRandom [
"U_C_Poloshirt_redwhite",
"U_OrestesBody",
"U_C_Journalist",
"U_C_Poor_1",
"U_I_C_Soldier_Bandit_4_F",
"U_Afghan03",
"U_Afghan01",
"U_C_Man_casual_4_F"
];
private _headgear = selectRandom [
"H_Hat_checker",
"H_Cap_blk",
"H_Cap_press",
"H_StrawHat_dark",
"H_Bandanna_surfer",
"H_Bandanna_surfer_grn",
""
];
this forceAddUniform _uniform;
for "_i" from 1 to 2 do {this addItemToUniform "ACE_fieldDressing";};
this addItemToUniform "ACE_tourniquet";
this addItemToUniform "ACE_morphine";
this addHeadgear _headgear;
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemGPS";
if (random 1 < 0.33) then {
this addBackpack "B_Kitbag_sgg";
};
if (random 1 < 0.25) then {
removeBackpack this;
this addBackpack "B_Kitbag_sgg";
for "_i" from 1 to 2 do {this addItemToBackpack "rhsusf_m112_mag";};
};
this selectWeapon primaryWeapon this;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment