OSRS Plugin API
    Preparing search index...

    Function clearAnimationOverride

    • Removes the override, if it exists, on the specified animId. Check game vals documentation to see what animations line up with what id.

      Parameters

      • animId: number

        Id pointing to a player animation to override. Will cause an error to be printed if below negative or if it points to an animation that has not been overridden. Will fail if not an integer.

      • Optionalverbose: boolean

        Whether clearing the animation override prints extra information about what animation is being cleared of overrides. By default it is off.

      Returns void

      -- Overrides waving animation to angry animation
      -- prints: Now overriding animation 863 with 859.
      osrs.setAnimationOverride(863, 859, true)

      -- Clears the angry animation override from the waving animation
      -- The waving emote would actually just register as waving for the client that called this
      -- prints: Cleared overrides for 863.
      osrs.clearAnimationOverride(863, true)