Skip to content

event onRenderFocus (client-side)

Available since version: 0.0.1

This event can be canceled

This event is triggered every game frame, but only when user is focusing other player, npc or vob.

Parameters

int type, int|null id, int x, int y, string name
  • int type: the type of currently focused vob. For more information see Vob types.
  • int|null id: the id of currently focused vob. If focused target is not player or npc this value is null.
  • int x: screen virtual x position. Position X is centered related to vob.
  • int y: screen virtual y position. Position Y is offsetted above vob.
  • string name: focused target displayed name.