OSRS Plugin API
    Preparing search index...

    Function objFind

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

      Parameters

      • type: number

        the type ID of the obj we are searching for

      • coord: MapCoord

        the coordinates of the obj we are searching for

      Returns boolean

      whether or not an obj with the given type and coordinates exists.

      local coord = osrs.ClientOp.coord()
      local foundObj = osrs.ClientOp.objFind(type, coord)