CBA_fnc_execAfterNFrames

Description

Executes the given code after the specified number of frames.

Parameters

_functionThe function to run.  <CODE>
_argsParameters passed to the function executing.  This will be the same array every execution.  (optional, default: []) <ANY>
_framesThe amount of frames the execution of the function should be delayed by.  (optional, default: 0) <NUMBER>

Returns

Nothing Useful

Examples

[{hint "Done!"}, [], 5] call cba_fnc_execAfterNFrames;

Author

mharis001, donated from ZEN

Close