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

[Feature Request]: Add an extra parameter to CBA_fnc_execNextFrame for settable frame delay #1578

Closed
johnb432 opened this issue May 24, 2023 · 0 comments · Fixed by #1584
Closed
Labels
Milestone

Comments

@johnb432
Copy link
Contributor

Description:
I feel like having a CBA function that allows you to delay the execution of code by x frames would be welcome.

Suggestion:
Adding an extra parameter to CBA_fnc_execNextFrame could be a way of implementing it:

[_func, _args, _numFrames] call CBA_fnc_execNextFrame

Additional context:
The current method to delay by x frames is to either nest CBA_fnc_execNextFrame within itself x times, which is hard to read.
Alternatively, people have made their own versions: See ZEN for example.

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

Successfully merging a pull request may close this issue.

2 participants