-
Notifications
You must be signed in to change notification settings - Fork 737
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
Safe Mode - Fix disabled laser on safety switch #6639
Conversation
It works when you switch safety with hotkey. It doesn't work when safety is turned off with weapon mode key (related to #210). |
Pretty sure this breaks something else. UGL muzzles? |
|
Bare my comments above, this has a core issue, GunLightOn and IRLaserOn switches you to your primary, there is currently no way to toggle flashlights and IR lasers for players that doesn't have an issue. |
Finally someone gets it. |
I already met this bug in
|
|| {"" == primaryWeapon _unit} // Arma switches to primary weapon if exists | ||
} | ||
) then { | ||
{_unit action [_x, _unit]} forEach ["GunLightOn", "IRLaserOn"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be bellow the action [SwitchWeapon
MX-GL with modes [single, auto, gl] Single: This PR is an improvement over current, so I'd say we merge and fix it later. Notes for me:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging for 3.12.6
We can continue to improve later
* Fix disabled laser on safety switch * Add workaround for switching to primary weapon * Add UGL check
When merged this pull request will: