Issue was apparently a bug in CBA RC4 and was fixed in RC6 hence why it doesn't work now.
This parts for Friz/anyone else who edits the wiki
Fix according to KillSwitch: https://dev.withsix.com/issues/76194
(Correct way to call it in description.ext - Appears to be fixed already)
class Extended_Init_EventHandlers
{
class Man
{
my_init = "_this call (compile preprocessFileLineNumbers 'my_script.sqf')";
};
};
(This is a corrected version of the example my_script.sqf)
private "_obj";
_obj = _this select 0;
if ((side _obj == west) and (!isPlayer _obj)) then
{
removeAllWeapons _obj;
removeGoggles _obj;removeHeadgear _obj;removeVest _obj;removeUniform _obj;removeAllAssignedItems _obj;removeBackpack _obj;
_obj addHeadgear 'Helmet_ACU';_obj addUniform 'Uniform_ACU';_obj addVest 'Vest_ACU';_obj addBackPack 'ACU_Backpack';
{ _obj addItemToBackpack "rhs_mag_30Rnd_556x45_M855A1_Stanag"; } forEach [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,18, 19, 20, 21];
{ _obj addItemToBackpack "rhs_mag_m67"; } forEach [1, 2, 3, 4];
{ _obj addItemToBackpack "SmokeShell"; } forEach [1, 2, 3, 4];
{ _obj addItem "FirstAidKit"; } forEach [1, 2, 3, 4, 5];
_obj addweapon 'rhs_m4_grip_acog';_obj addPrimaryWeaponItem 'rhsusf_acc_ACOG';_obj linkItem "ItemMap";
};