-
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
Cargo - Add name to bodybags #8297
Conversation
This is great, I remember someone having an issue with multiple cargo boxes and not having any way to tell the difference between them. https://github.com/acemod/ACE3/blob/master/docs/wiki/framework/cargo-framework.md
|
How does this differ from #8023? |
It differs because I was unaware of that one |
I am in favour of #8023 but would like to see bodybag name added to it. |
If #8023 is merged I can create a PR to add bodybag labels |
Updated to master (changed setVar name) |
I guess we could check if dogtags is loaded and use it's var if it exists, it would save a global setVar, but probably not needed https://github.com/acemod/ACE3/blob/master/addons/dogtags/XEH_postInit.sqf#L40 |
I think this is fine. For the rare case, people can still hide the name with something like this: ["ace_placedInBodyBag", {
[{
params ["", "_bodyBag"];
_bodyBag setVariable ["ace_cargo_customName", "", true];
}, _this] call CBA_fnc_execNextFrame;
}] call CBA_fnc_addEventHandler; |
* cargo: labels * Update XEH_postInit.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com>
When merged this pull request will:
ace_cargo_label