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

Sitting - Add config overwrite for random animation pool #10120

Merged
merged 5 commits into from
Jul 18, 2024

Conversation

DartRuffian
Copy link
Contributor

When merged this pull request will:

  • Title

IMPORTANT

  • If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

@DartRuffian
Copy link
Contributor Author

The logic could probably be improved a little bit, not sure what exactly but it feels a bit off to me.

@DartRuffian DartRuffian force-pushed the sitting/config-animations branch from e10a071 to f37abb4 Compare July 16, 2024 21:44
Copy link
Contributor

@johnb432 johnb432 left a comment

Choose a reason for hiding this comment

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

You need to adapt the header for the new parameter, otherwise looks fine.

addons/sitting/functions/fnc_getRandomAnimation.sqf Outdated Show resolved Hide resolved
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
@DartRuffian
Copy link
Contributor Author

You need to adapt the header for the new parameter, otherwise looks fine.

Forgot about that, will fix that quickly

@johnb432
Copy link
Contributor

I imagine you want to update the call to the function too? Otherwise, why add this to a non-API function?

@DartRuffian
Copy link
Contributor Author

Yeah I just had to leave for work so didn't have a chance to update that, could probably do it from my phone

@DartRuffian DartRuffian requested a review from johnb432 July 17, 2024 15:24
Copy link
Contributor

@johnb432 johnb432 left a comment

Choose a reason for hiding this comment

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

LGTM

@johnb432 johnb432 added the kind/feature Release Notes: **ADDED:** label Jul 17, 2024
@johnb432 johnb432 added this to the 3.18.0 milestone Jul 17, 2024
@PabstMirror PabstMirror merged commit 8f84df7 into acemod:master Jul 18, 2024
5 checks passed
@DartRuffian DartRuffian deleted the sitting/config-animations branch July 19, 2024 01:13
blake8090 pushed a commit to blake8090/ACE3 that referenced this pull request Aug 18, 2024
* Add config property animation overwrite

* Update addons/sitting/functions/fnc_getRandomAnimation.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Fix header

* Update addons/sitting/functions/fnc_getRandomAnimation.sqf

* Update function call

---------

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Release Notes: **ADDED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants