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

Addon vehicles arn't effected by ace_cargo_size #5211

Closed
Pasrules opened this issue May 27, 2017 · 2 comments
Closed

Addon vehicles arn't effected by ace_cargo_size #5211

Pasrules opened this issue May 27, 2017 · 2 comments

Comments

@Pasrules
Copy link

ACE 3.9.2

this setVariable ["ace_cargo_size", 20] does not work on vehicles from addons. Tested on Vanilla (works), BAF, RHS (no change in inventory size). Compatibility for those mods were not used, script was used on vehicle init.

To reproduce place a vehicle with init: this setVariable ["ace_cargo_size", 20] and check the cargo size by interacting with it

@Pasrules Pasrules changed the title Addon vehicles arn't effected by ace_cargo_size BUG Addon vehicles arn't effected by ace_cargo_size May 27, 2017
@kymckay
Copy link
Member

kymckay commented May 27, 2017

Would be fixed by #4780

@kymckay
Copy link
Member

kymckay commented May 31, 2017

PR #4780 was merged which includes public functions to set the cargo size and space of objects/vehicles. These will add the necessary action menu information if an object's class isn't already set up with it.

As such, I'm closing this issue as resolved! 👍

@kymckay kymckay closed this as completed May 31, 2017
@jonpas jonpas added this to the 3.10.0 milestone May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants