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: booleanWhether clearing the animation override prints extra information about what animation is being cleared of overrides. By default it is off.
-- 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)
Removes the override, if it exists, on the specified animId. Check game vals documentation to see what animations line up with what id.