Run when the model's animation finishes. Only run for models which do not repeat their animations (e.g. the model used for the "icon falling into bag" animation which appears above the default UI's bag buttons when looting or purchasing items).

Only used for animations internal to Model objects; for widget animations, see OnFinished.

Signature:

OnAnimFinished(self)

Arguments:

  • self - Reference to the widget for which the script was run (model)