Thermal_A.sqf 358 B

12345678910111213141516171819202122
  1. //add back thermals
  2. //Created by Rexi
  3. {
  4. _items = assigneditems _x;
  5. if ("OPTRE_NVG" in _items) then {
  6. _x unassignItem "OPTRE_NVG";
  7. _x removeItem "OPTRE_NVG";
  8. _x addItem "swop_nvchipclean";
  9. _x assignItem "swop_nvchipclean";
  10. }
  11. else{
  12. ;}
  13. ;} forEach playableUnits;
  14. hintSilent "Thermals have been added back to players";