Fires when a unit's portrait changes (e.g. due to shapeshifting, being polymorphed, or equipping gear). Also fires when a unit's portrait changes from a generic race/gender image to one based on the unit's 3D model.

Signature:

("unitID")

Arguments:

  • unitID - The unit that was affected. (string)