private["_unit"]; for "_i" from 0 to 4 step 1 do { _unit = createGroup RESISTANCE createUnit ["Epoch_Female_F", getPos player, [], 400, "CAN_COLLIDE"]; _unit addBackPack "B_Kitbag_Base"; _unit addWeapon "Hatchet"; _unit addMagazine "hatchet_swing"; {_unit disableAI _x}count["TARGET","AUTOTARGET","FSM"]; _unit addEventHandler ["FiredNear", "_this select 0 setVariable [""firedNear"",_this select 2]"]; _unit addEventHandler ["Hit", "_this select 0 setVariable [""looterHit"",true];"]; //setDamage on the client && on Epoch_Female_F !? Not required ! Part of keeping health up on antagonists without custom armour ! [_unit] execFSM "\x\addons\a3_epoch_code\System\Looter_Brain.fsm"; };