Skip to content

Common - Add _skipAnim parameter to CBA_fnc_addItem and related functions#1764

Merged
PabstMirror merged 3 commits intoCBATeam:masterfrom
DartRuffian:patch-1
Jun 12, 2025
Merged

Common - Add _skipAnim parameter to CBA_fnc_addItem and related functions#1764
PabstMirror merged 3 commits intoCBATeam:masterfrom
DartRuffian:patch-1

Conversation

@DartRuffian
Copy link
Copy Markdown
Contributor

When merged this pull request will:

  • Add _animate parameter. If true (default) the unit will play an animation

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
@ZluskeN
Copy link
Copy Markdown

ZluskeN commented Jun 9, 2025

Should this be done for addmagazine and addweapon too?

Also dropmagazine and dropweapon play this animation.

dropitem has a similar parameter, though it is called _skipanim and defaults to false

@DartRuffian
Copy link
Copy Markdown
Contributor Author

I can add it to the other functions as well if desired, this is just the only one I needed it for.

I'll update param name later after work, or someone can change it

@PabstMirror PabstMirror added this to the 3.18.4 milestone Jun 9, 2025
@PabstMirror PabstMirror changed the title Common - Add _animate parameter to CBA_fnc_addItem Common - Add _skipAnim parameter to CBA_fnc_addItem and related functions Jun 10, 2025
@DartRuffian
Copy link
Copy Markdown
Contributor Author

I in fact did not remember, thanks Pabst

@PabstMirror PabstMirror merged commit 2f7cbd6 into CBATeam:master Jun 12, 2025
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants