OSRS Plugin API
    Preparing search index...

    Function highlightNpcTypeChannelsGetActive

    • Will return all channels in which the specified npc type have been highlighted through.

      Parameters

      • typeId: number

        The id of the specified npc type. Integer.

      Returns HighlightConfig[]

      A map of channel ids and corresponding ClientOp.HighlightConfig within the npc type category. A channel will appear on the map if a highlight on the specified npc type is done through that channel. Valid channels go from 0-32.

      osrs.ClientOp.highlightNpcTypeOn(522, 3)

      local highlights = osrs.ClientOp.highlightNpcTypeChannelsGetActive(522)

      -- Now prints out the channels that highlights of the pirates in Brimhaven pass through
      -- What this should prints out should include channel Id 3 along with the properties at npc type highlight channel 3
      for id, highlightProperties in pairs(highlights) do
      osrs.print("Channel ID: " .. tostring(id))
      osrs.print("Channel Properties: " .. tostring(highlightProperties))
      end