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

Can't load captives into helicopters #2132

Closed
Ghost77788 opened this issue Aug 12, 2015 · 3 comments
Closed

Can't load captives into helicopters #2132

Ghost77788 opened this issue Aug 12, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@Ghost77788
Copy link

ACE3 Version: 3.2.1
(indicate if stable or dev, if dev indicate the commit the version is based on)

Mods:

Pbo in question:
ace_captives.pbo

Description:
You can't load handcuffed people into helicopters, this is because the "if" statement in the doloadcaptive.sqf checks against other variables ("helicopter_f") then canloadcaptives.sqf ("helicopter").

However looking into the config of arma 3 "helicopter_f" doesn't or no longer exists and is now "helicopter_base_F".

So the doloadcaptives.sqf will exit the script because vehicle == null.

But seeing as the canloadcaptives.sqf checks against empty cargo positions, why not set the nearestobjects command up with just "air", "land","ship".
Because anything that doesn't have a cargo place wouldn't even get the options to load.

Thank you for your time. And hope it helps.

Where did the issue occur?
"Multiplayer", "Singleplayer"

@PabstMirror
Copy link
Contributor

Why can't every bug report be like this one, with the solution inside.
Thanks for the report, should be fixed in next release.

@bux
Copy link
Member

bux commented Aug 13, 2015

Why can't every bug report be like this one, with the solution inside.

Or even with a link to the pull request fixing the bug 😄

@jonpas
Copy link
Member

jonpas commented Aug 13, 2015

@Ghost77788 you deserve a 🍌 for that awesome bug report + fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants