Skip to content

Add Unload Vehicle Cargo keybind and context menu action#528

Merged
neilzar merged 18 commits intozen-mod:masterfrom
ampersand38:unload-viv-cargo
Feb 7, 2021
Merged

Add Unload Vehicle Cargo keybind and context menu action#528
neilzar merged 18 commits intozen-mod:masterfrom
ampersand38:unload-viv-cargo

Conversation

@ampersand38
Copy link
Copy Markdown
Member

When merged this pull request will:

  • Add viv cargo unloading functionality to Eject Passengers keybind. In-selection viv cargo will be unloaded from carriers, carriers will have all viv cargo unloaded.

Add viv cargo unloading functionality to Eject Passengers keybind. In-selection viv cargo will be unloaded from carriers, carriers will have all viv cargo unloaded.
@mharis001 mharis001 added the feature Adds a new feature label Jan 24, 2021
@mharis001 mharis001 added this to the 1.10.0 milestone Jan 24, 2021
@mharis001
Copy link
Copy Markdown
Member

I'd rather see this as a separate keybind instead of part of the eject passengers one.

@ampersand38
Copy link
Copy Markdown
Member Author

I'd rather see this as a separate keybind instead of part of the eject passengers one.

What about a module and/or a Vehicle Logistics menu item?

@mharis001
Copy link
Copy Markdown
Member

I think a module isn't convenient and likely overkill for this action. As for a context menu action, I am unsure but I think a keybind provides faster, more convenient access.

Comment thread addons/editor/initKeybinds.sqf Outdated
Comment thread addons/editor/initKeybinds.sqf Outdated
Comment thread addons/editor/initKeybinds.sqf Outdated
@CreepPork
Copy link
Copy Markdown
Member

A separate keybind would be great, but one with a similar keybind to the eject one. You sometimes would only want to eject the cargo or passengers.

ampersand38 and others added 5 commits January 25, 2021 19:23
Co-authored-by: Ralfs Garkaklis <ralfs@garkaklis.com>
Co-authored-by: Ralfs Garkaklis <ralfs@garkaklis.com>
Copy link
Copy Markdown
Member

@mharis001 mharis001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well. Just some cleanup suggestions.

Comment thread addons/editor/initKeybinds.sqf Outdated
Comment thread addons/context_actions/CfgContext.hpp Outdated
Comment thread addons/editor/stringtable.xml Outdated
@mharis001 mharis001 changed the title unload viv cargo Add unload vehicle cargo keybind and context menu action Jan 26, 2021
@mharis001 mharis001 changed the title Add unload vehicle cargo keybind and context menu action Add Unload Vehicle Cargo keybind and context menu action Jan 26, 2021
Comment thread addons/editor/initKeybinds.sqf
Comment thread addons/context_actions/functions/fnc_unloadViV.sqf Outdated
Comment thread addons/context_actions/functions/fnc_unloadViV.sqf Outdated
Comment thread addons/context_actions/functions/fnc_canUnloadViV.sqf Outdated
Comment thread addons/context_actions/functions/fnc_canUnloadViV.sqf Outdated
Comment thread addons/editor/stringtable.xml Outdated
Comment thread addons/editor/stringtable.xml Outdated
@mharis001 mharis001 requested a review from CreepPork February 7, 2021 01:23
@neilzar neilzar merged commit efdca89 into zen-mod:master Feb 7, 2021
@ampersand38 ampersand38 deleted the unload-viv-cargo branch February 25, 2021 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants