OSRS Plugin API
    Preparing search index...

    Function npcUid

    • Gets the unique uid of the npc from the server.

      Parameters

      • npcId: number

        id of the npc.

      Returns number

      the uid of the npc.

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