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

Events - Player events will report driver seat as turret [-1] #1313

Merged
merged 3 commits into from
Mar 28, 2020

Conversation

PabstMirror
Copy link
Contributor

Replace #1312
Reports driver/pilot as turret [-1]
This is mainly so it will also report pilot's weapon on "turretweapon" event

e.g. ["turretweapon", {x1 = +_this}, true] call CBA_fnc_addPlayerEventHandler;
for AH-6 Littlebird will report [player, "M134_minigun","missiles_DAR"]

This could cause problems for code that is not expecting driver's seat turret
And many cars will report a weapon like "TruckHorn2" which might not be expected

@commy2 commy2 added the Bug Fix label Mar 27, 2020
@commy2 commy2 added this to the 3.15 milestone Mar 27, 2020
@commy2 commy2 merged commit 2d0a54a into master Mar 28, 2020
@commy2 commy2 deleted the playerEventDriverTurret branch March 28, 2020 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants