public static Task Coroutines.FinishCurrentAction(bool resetInput = true)
This function make sure we are not actually performing another action, and if so, it wait till the end of that action, or the default timeout (5000ms). You usually call this to make sure a previous action you performed (cast a non instant skill, MoveToward etc etc) run to completition, before to perform another one.
TaskNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Parameters
resetInput- Parameter type:
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.True, if you want to reset all key state after the current action completed.
Returns: An asynchronous operation. Await it before reading the result or continuing the workflow.