-
Notifications
You must be signed in to change notification settings - Fork 738
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
weaponsItemsCargo does not return first aid kits or medikits if ace is loaded #8778
Comments
This is because of that Also to be honest, I don't understand why in vanilla medkit returned as weapon item. This is not a scope, bipod, laser or loaded mag. Maybe CBA function should be fixed somehow? |
Couldn't |
For some reason |
The If load such mission with ACE medical and take such FAK from vehicle it won't be converted to ACE medicals. If load mission without ACE Medical:
Source: On mission start |
Function does return all objects, but "FirstAidKit" and "Medikit" are missing in cargo. |
Mods (complete and add to the following information):
2.06 stable
3.15.6 stable
3.14.1 stable
Description:
weaponsItemsCargo
does not return medikits or first aid kits if ace is loadedSteps to reproduce:
Start mission editor, place down a unit, start the game, then in the debug console execute
The last command will return
[]
.Expected behavior:
With no mods loaded or only CBA loaded, the last command willl return
Where did the issue occur?
Editor (Singleplayer)
Additional context:
This bug causes CBA_fnc_removeWeaponCargo to delete medikits and first aid kits, since it gets the cargo data with
weaponsItemsCargo _container
and then doesclearWeaponCargoGlobal _container
.The text was updated successfully, but these errors were encountered: