event onNpcActionSent (server-side)
Available since version: 0.3.0
Triggered when the current action is dispatched to its host. A replay after host migration may emit it again.
Parameters
void onNpcActionSent(number npc_id, number action_type, number action_id)
numbernpc_id: NPC id.numberaction_type: ACTION_PLAY_ANI.numberaction_id: Dispatched action id.