OSRS Plugin API
    Preparing search index...

    Function highlightTileChannelActive

    • Finds if the specified tile has been highlighted through the specified channel.

      Parameters

      • coord: number

        The coordinate of the specified tile in a bitpacked form. Integer.

      • channelId: number

        The id of the specified highlight channel. Positive Integer.

      • useSourceCoord: boolean

        Flag to use source coordinates instead of world coordinates.

      Returns boolean

      Whether the specified tile has been highlighted through the specified channel. If specified channel does not exist this is also false.

      osrs.ClientOp.highlightTileOn(osrs.ClientOp.coord(false):toBitPacked(), 6, true)

      -- Prints: true
      osrs.print(tostring(osrs.ClientOp.highlightTileChannelActive(osrs.ClientOp.coord(false):toBitPacked(), 6, true)))

      osrs.ClientOp.highlightTileOff(osrs.ClientOp.coord(false):toBitPacked(), 6, true)

      -- Prints: false
      osrs.print(tostring(osrs.ClientOp.highlightTileChannelActive(osrs.ClientOp.coord(false):toBitPacked(), 6, true)))