OSRS Plugin API
    Preparing search index...

    Function npcCoord

    • Gets the current coordinates of the specified npc.

      Parameters

      • npcId: number

        id of the npc.

      Returns MapCoord

      the coordinates of the NPC in a MapCoord class.

      local npcCoord = osrs.ClientOp.npcCoord(id)