Skip to content

event onLostFocus (client-side)

This event is triggered when hero loses focus on object like player, npc or vob.

Parameters

int type, int id, string name
  • int type: the type of currently focused vob. For more information see Vob types.
  • int id: the id of currently focused vob. If focused target is not player or npc this value is -1.
  • string name: focused target displayed name.