I got my computer yesterday, after installing all my software/hardware. I finally got around to getting back into Arma 3 and scripting again. I'm pretty rusty and had been reviewing new features of AliVe and typing up scripts again. I wanted to remove OPFOR side, and have wrote up the typical set up for it, however this seems to take them only from units that spawn in from profiled. Not that you really notice out of debug range.
while {true} do {
{
if (side _x == east) then
{
_x unlinkItem "NVGoggles_OPFOR";
_x removePrimaryWeaponItem "acc_pointer_IR";
_x addPrimaryWeaponItem "acc_flashlight";
};
}foreach allUnits;sleep 5;
};
Is there any more efficient way of doing this for AliVe? I would prefer to remove them at a profiled level if possible.