OSRS Plugin API
    Preparing search index...

    Function highlightNpcOn

    • Highlights the specified NPC. If the npc has already been highlighted with other channel ids, the channel with the smallest id that is also enabled will be the channel through which the highlight gets its properties from.

      Parameters

      • npcId: number

        The id of the npc to highlight. Integer.

      • npcCreationCycle: number

        Server cycle that this NPC was created on - obtained by ClientOp.npcCreationCycle. Integer.

      • highlightChannel: number

        The channel of the highlight category to use [1-32]. If specified channel is not enabled the highlight will not be visible. Positive Integer.

      Returns void

      -- Highlights Brugsen Bursen
      id = osrs.ClientOp.getNpcIdByName("Brugsen Bursen")
      osrs.ClientOp.highlightNpcOn(id, osrs.ClientOp.npcCreationCycle(id), 6)