OSRS Plugin API
    Preparing search index...

    Function locFind

    • Determines whether a loc with a given type ID and coordinate exists.

      Parameters

      • type: number

        the type ID of the loc we are searching for

      • coord: MapCoord

        the coordinates of the loc we are searching for

      Returns boolean

      whether or not a loc with the given type and coordinates exists.

      local coord = osrs.ClientOp.coord()
      local foundLoc = osrs.ClientOp.locFind(1, coord)