PlayerModel:SetUnit

From Warcraft Wiki
Jump to navigation Jump to search

Sets the model to display the specified unit.

success = PlayerModel:SetUnit(unit [, blend, useNativeForm])

Arguments

unit
string : UnitToken - Unit whose model you wish to display
blend
boolean? = true
useNativeForm
boolean?

Returns

success
boolean

Details

  • Use the ModelFrame if you want to display a fully 3D-model of a specific unit, like the one used in the CharacterFrame.