1. Init field for units include this: This AddEventHandler ["Respawn",{Null = _This ExecVM "Respawn.sqf";}];
2. Respawn.sqf:
If (IsPlayer(_This Select 0)) Then
{
Null = [] ExecVM "WeaponMenu3D\Main.sqf";
}
Else
{
Null = [_This Select 0] ExecVM "Respawn_Location.sqf";
Null = [_This Select 0] ExecVM "AI_Gear.sqf";
};
Null = [_This Select 0] ExecVM "DM_Limits.sqf";
If ((_This Select 0) == P1) Then {Rating_P1 SetDamage 1;};
If ((_This Select 0) == P2) Then {Rating_P2 SetDamage 1;};
If ((_This Select 0) == P3) Then {Rating_P3 SetDamage 1;};
If ((_This Select 0) == P4) Then {Rating_P4 SetDamage 1;};
If ((_This Select 0) == P5) Then {Rating_P5 SetDamage 1;};
If ((_This Select 0) == P6) Then {Rating_P6 SetDamage 1;};
If ((_This Select 0) == P7) Then {Rating_P7 SetDamage 1;};
If ((_This Select 0) == P8) Then {Rating_P8 SetDamage 1;};
If ((_This Select 0) == P9) Then {Rating_P9 SetDamage 1;};
If ((_This Select 0) == P10) Then {Rating_P10 SetDamage 1;};
If ((_This Select 0) == P11) Then {Rating_P11 SetDamage 1;};
If ((_This Select 0) == P12) Then {Rating_P12 SetDamage 1;};
If ((_This Select 0) == P13) Then {Rating_P13 SetDamage 1;};
If ((_This Select 0) == P14) Then {Rating_P14 SetDamage 1;};
If ((_This Select 0) == P15) Then {Rating_P15 SetDamage 1;};
If ((_This Select 0) == P16) Then {Rating_P16 SetDamage 1;};
Null = [] ExecVM "WeaponMenu3D\Main.sqf" and Null = [_This Select 0] ExecVM "AI_Gear.sqf" will remove all the unit gear and NEVER it will include smoke or the HAMR sight.