* Use CBA Accessory Functions for Laser mode switching
* Use CBA ACC EH to prevent switching to unusable lzr (#4860)
* Use CBA ACC EH to prevent switching to unusable lzr
* Re-call CBA_accessory_fnc_switchAttachment
* Require CBA 3.2.0
* only process one unit every 0.1 seconds
* exitWith to keep indentation low
* use event to determine isIR and isTI
* correctly remove units with turned on lights from their arrays
* handle weaponAccessories command reporting nil
* Optimizations with private, params, and isEqualType
* Fixed tab being used instead of space
* Fixed tabs inserted by notepad++
* More usage of new private syntax and params
- changed a few checks for an array being empty to `_arr isEqualTo []`
rather than `count _arr == 0`
- added more uses of `private` on the same line as the variable is
declared
- added more uses of params to assign variables passed as parameters
- removed unnecessary parentheses
- removed several unnecessary variable declarations with private array
syntax
* clean up and formatting