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

Accessory - Add conditional blocking of switchable attachments #1595

Merged
merged 5 commits into from
Sep 6, 2023

Conversation

PabstMirror
Copy link
Contributor

Allows conditional code to block some attachment modes
e.g. some IR illuminators can be physically locked out of high power modes

addons/accessory/fnc_addAttachementCondition.sqf Outdated Show resolved Hide resolved
addons/accessory/fnc_addAttachementCondition.sqf Outdated Show resolved Hide resolved
addons/accessory/fnc_switchAttachment.sqf Show resolved Hide resolved
addons/accessory/fnc_switchAttachment.sqf Outdated Show resolved Hide resolved
addons/accessory/fnc_switchableAttachments.sqf Outdated Show resolved Hide resolved
addons/accessory/fnc_switchAttachment.sqf Outdated Show resolved Hide resolved
PabstMirror and others added 2 commits August 27, 2023 17:31
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
@PabstMirror PabstMirror mentioned this pull request Aug 30, 2023
2 tasks
addons/accessory/CfgFunctions.hpp Outdated Show resolved Hide resolved
addons/accessory/fnc_addAttachementCondition.sqf Outdated Show resolved Hide resolved
addons/accessory/fnc_addAttachementCondition.sqf Outdated Show resolved Hide resolved
addons/accessory/fnc_switchAttachment.sqf Outdated Show resolved Hide resolved
@jonpas jonpas merged commit 33f6c0d into master Sep 6, 2023
4 checks passed
@jonpas jonpas deleted the switchAttachmentCondition branch September 6, 2023 16:24
PabstMirror added a commit to acemod/ACE3 that referenced this pull request Sep 7, 2023
…0) (#9346)

* Laserpointer - Block laser attachements if setting disabled

req CBATeam/CBA_A3#1595

* Apply suggestions from code review

* Update addons/main/script_mod.hpp

---------

Co-authored-by: jonpas <jonpas33@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants