WoW:API PlayerModel SetUnit

From AddOn Studio
Revision as of 17:55, 18 November 2005 by WoWWiki>DerGhulbus
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SetUnit -Documentation by DerGhulbus-

Set the ModelFrame to display a model of the specified unit.

myPlayerModel:SetUnit("unit");

Arguments
"unit" : the UnitId of the unit which model you wish to display

Returns
nil

Description

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


Template:WoW API