Arma 3
Simple Armband Auto Equip
6 Comments
paul Aug 11 @ 10:53pm 
Added a script that auto-adds this to spawned zues units

private _assignArmbands = {
params ["_unit"];

if (side _unit == east) then {
_unit addItem "Armband_Red_medium2_NVG";
_unit selectWeapon "Armband_Red_medium2_NVG";
} else if (side _unit == independent) then {
_unit addItem "Armband_Green_medium2_NVG";
_unit selectWeapon "Armband_Green_medium2_NVG";
} else if (side _unit == west) then {
_unit addItem "Armband_Blue_medium2_NVG";
_unit selectWeapon "Armband_Blue_medium2_NVG";
};
};

[] spawn {
waitUntil { !isNil "ZUES" };
while { true } do {
{
if (isNull _x) exitWith {};
if (!(_x getVariable ["armbandAssigned", false])) then {
_assignArmbands call _x;
_x setVariable ["armbandAssigned", true];
};
} forEach allUnits;
sleep 1;
};
};


And just call it in the init.sqf

[] execVM "autoArmbands.sqf";
Baigaman  [author] Mar 19 @ 11:57pm 
@Wartia
Check the addon options, you have side specific settings for armband type, color and occurrence
KOFF Mar 15 @ 1:17am 
Can you explain how this works for example if I want invaders to wear a armband, what do I do?
aeroNes Jan 31 @ 12:44pm 
does this work without the ace3 compat mod? as i dont play with ace.
Baigaman  [author] Jan 11 @ 4:52am 
@Sw00sh
This was an absent minded mistake of mine. Should be corrected now :)
Sw00sh Jan 5 @ 7:35pm 
Hello, thank you for the mod! I wanted to comment that since this does not have a signature you need to run your dedicated server with signature verification disabled to connect to it with your client for configuration. Adding a bikey to this mod would help for those experiencing issues setting this up. Otherwise - nothing to say but awesome work!