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

Added weapon_helper Module #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added weapon_helper Module #199

wants to merge 1 commit into from

Conversation

TinfoilHate
Copy link
Contributor

Added weapon_helper module. This allows easy selection of randomized weapons and attachments, as well as magazine inventory fill functions. Useful for random and fixed loadouts.

Copy link
Contributor

@PiZZAD0X PiZZAD0X left a comment

Choose a reason for hiding this comment

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

Another parameter to define a maximum number of magazines to add would be nice.
[_unit,_type,["rhs_weap_akm"],5] call FNC_wephelper;
would add up to 5 magazines. (just a simple do for loop with the already used commands)

@Drofseh
Copy link

Drofseh commented Dec 19, 2018

Agreed. Filling the unit's entire inventory space with magazines isn't optimal.

@BlackHawkPL
Copy link
Collaborator

Will merge when there's parameter for amount of magazines.

@EM-Creations
Copy link

@TinfoilHate Would you have any objections to me including this in my fork of the framework?

@EM-Creations
Copy link

Added to The Bear Cave Framework (with the max magazines parameter) here: https://github.com/EM-Creations/TheBearCave-Framework-ArmA-3/pull/19

Feel free to adapt this to work with the Olsen Framework :)

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

Successfully merging this pull request may close these issues.

5 participants