Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common - Add ace_common_fnc_switchAttachmentMode #10135

Merged
merged 4 commits into from
Jul 27, 2024
Merged

Conversation

PabstMirror
Copy link
Contributor

Maybe needed for #10119 and #8154

@johnb432
Copy link
Contributor

johnb432 commented Jul 22, 2024

Imo this should be in CBA.

https://github.com/acemod/ACE3/blob/master/addons/interaction/functions/fnc_switchWeaponAttachment.sqf should probably be updated with CBA events. Even better would be to replace it with this function (or if implemented in CBA).

@johnb432 johnb432 added the kind/feature Release Notes: **ADDED:** label Jul 25, 2024
@johnb432 johnb432 added this to the 3.18.0 milestone Jul 25, 2024
Copy link
Contributor

@johnb432 johnb432 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be added to CBA at a later date if needed.

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
@johnb432 johnb432 merged commit ba22c40 into master Jul 27, 2024
5 checks passed
@johnb432 johnb432 deleted the switchAttachementMode branch July 27, 2024 17:15
@PabstMirror PabstMirror added kind/enhancement Release Notes: **IMPROVED:** and removed kind/feature Release Notes: **ADDED:** labels Jul 29, 2024
blake8090 pushed a commit to blake8090/ACE3 that referenced this pull request Aug 18, 2024
* Common - Add `ace_common_fnc_switchAttachmentMode`

* Update addons/common/functions/fnc_switchAttachmentMode.sqf

* Update addons/common/functions/fnc_switchAttachmentMode.sqf

* playSound only for ACE_player

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

---------

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants