event onPlayerInterrupt (client-side)
Available since version: 0.3.0
This event can be canceled
This event is triggered when hero/npc gets interrupted by the game while doing something, e.g: hero/npc gets attacked during interaction with mob inter object.
Parameters
int playerid, bool dontStopMobInteraction, bool stopSelectedSpell
intplayerid: the id of the hero/npc that gets interrupted.booldontStopMobInteraction:truewhen interrupt action doesn't force stopping interaction with mob inter, otherwisefalse.boolstopSelectedSpell:truewhen interrupt action force stopping investing selected spell, otherwisefalse.