OSRS Plugin API
    Preparing search index...

    Function highlightObjTypeOn

    • Highlights every object of the specified type in the world. * If the object type 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

      • typeId: number

        ID of the object type to highlight. Integer.

      • channelId: number

        The highlight channel [1-32]. If specified channel is not enabled the highlight will not be visible. Positive integer.

      Returns void

      --Hightlight every egg you see. Note: Will not work for active zone until it is reloaded.
      osrs.ClientOp.highlightObjTypeOn(osrs.gamevals.objtypes.egg, 9)