johnb432 4db0f7de24
Interaction - Improve FUNC(switchWeaponAttachment) (#10145)
* Improve swtichWeaponAttachment

* change interact_SWA to use common_SAM (#10176)

* change interact_SWA to use common_SAM

* Directly call

* exit on bad arg

* Update fnc_switchAttachmentMode.sqf

* Minor optimisations

* Cleanup leftover code, use unit instead of target

---------

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/interaction/functions/fnc_switchWeaponAttachment.sqf

* Revert some unnecessary changes

* Remove sound, as it was part of the CBA attachment switching & pass missing parameter

* Add sound back, to indicate new attachment

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2024-08-09 14:08:07 -07:00
..
2015-01-12 19:22:58 +01:00
2018-04-15 13:14:31 -05:00
2015-01-12 19:22:58 +01:00
2023-02-01 23:28:55 -06:00
2023-02-01 23:28:55 -06:00
2024-02-06 09:29:24 -08:00
2015-01-12 19:22:58 +01:00

ace_common

Common functions and systems used by other components.