Page MenuHomeFeedback Tracker

[Feature Request] New eventhandler: MuzzleSwitch
Closed, ResolvedPublic

Description

Would trigger each time given unit switches the currently held weapon muzzle.
<unit> addEventHandler ["MuzzleSwitch", {}]

Would return:

  • unit
  • weapon
  • new muzzle
  • old muzzle
  • new muzzle magazine data (like Reloaded eh)
  • old muzzle magazine data (like Reloaded eh)

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
Engine

Event Timeline

h- created this task.Jun 11 2020, 8:36 PM
h- added a comment.Jun 12 2020, 3:24 PM

I know about the CBA stuff but would argue that engine solution would always be better.

h- added a comment.Sep 6 2021, 7:49 PM

Shameless bump and further counter argument: CBA playerEvent doesn't work for the AI because playerEvent.
Same goes for the weaponSwitch event request: https://feedback.bistudio.com/T151696

would be handy indeed

h- added a comment.Sep 16 2022, 6:29 PM

So a metric ton of new eventhandlers added but still no to this? :(
Or am I just blind and dumb as usual..

dedmen closed this task as Resolved.May 15 2024, 2:25 PM

https://feedback.bistudio.com/T178384
Its not giving you the magazine in there. But surely you can pull that yourself. If you can't ping me on discord I might miss reply here.