event onRenderFocus (client-side)
Available since version: 0.0.1
This event can be canceled
This event is disabled by default. To enable it, use enableEvent_RenderFocus function.
This event is triggered every game frame, but only when user is focusing other player, npc or vob.
int type, int id, int x, int y, string name
inttype: the type of currently focused vob. For more information see Vob types.
intid: the id of currently focused vob. If focused target is not player or npc this value is
intx: screen virtual x position. Position X is centered related to vob.
inty: screen virtual y position. Position Y is offsetted above vob.
stringname: focused target displayed name.