CBA_fnc_execNextFrame

Description

Executes a code once in non sched environment on the next frame.

Parameters

_functionThe function to run.  <CODE>
_argsParameters passed to the function executing.  This will be the same array every execution.  [optional] <ANY>

Returns

Nothing

Examples

[{player sideChat format ["This is frame %1, not %2", diag_frameno, _this select 0];}, [diag_frameno]] call CBA_fnc_execNextFrame;

Author

esteldunedain and PabstMirror, donated from ACE3

Close