WoW:API PlayerModel SetUnit: Difference between revisions
Jump to navigation
Jump to search
SetUnit -Documentation by DerGhulbus-
No edit summary |
(upgraded deprecated template) |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
<center>'''SetUnit''' ''-Documentation by DerGhulbus-''</center> | <center>'''SetUnit''' ''-Documentation by DerGhulbus-''</center> | ||
Line 19: | Line 20: | ||
Use the ModelFrame if you want to display a fully 3D-model of a specific unit, like the one used in the CharacterFrame. | Use the ModelFrame if you want to display a fully 3D-model of a specific unit, like the one used in the CharacterFrame. | ||
Revision as of 18:13, 6 January 2007
← WoW API < PlayerModel SetUnit
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.