OSRS Plugin API
    Preparing search index...

    Function highlightChannelConfigure

    • This sets the configuration settings of a highlight channel. This means all highlights routed to the same channel will have the specified configuration settings applied to them. Will print out an error if specified highlight channel does not exist.

      Parameters

      • categoryId: number

        The id of the category of channels that the function will apply the configuration to. Check ClientOp.HighlightCategory for which id's line up with which categories.

      • channelId: number

        The id of channel within the specified category. Valid channels go from 0-32.

      • configuration: HighlightConfig

        The configuration to be applied on the specified channel.

      Returns void

      config = osrs.ClientOp.HighlightConfig.new()

      config.highlightColour.r = 0
      config.highlightColour.g = 0
      config.highlightColour.b = 255

      -- Now all objtype highlights pass through channel 9 will apply a blue outline on object models
      osrs.ClientOp.highlightChannelConfigure(osrs.ClientOp.HighlightCategory.OBJTYPE,9,config)