event onNpcActionFinished (server-side)
Available since version: 0.3.0
Triggered when an action leaves the queue through completion, failure, cancellation or timeout.
Parameters
void onNpcActionFinished(number npc_id, number action_type, number action_id, boolean result)
numbernpc_id: NPC id.numberaction_type: ACTION_PLAY_ANI.numberaction_id: Finished action id.booleanresult: True only for successful completion reported by the current host.