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, default: []) <ANY>

Returns

Nothing Useful

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