Wikia

WoWWiki

Changes: API PlayerModel SetUnit

Edit

Back to page

(upgraded deprecated template)
m
 
Line 1: Line 1:
 
{{wowapi}}
 
{{wowapi}}
<center>'''SetUnit''' ''-Documentation by DerGhulbus-''</center>
 
   
 
Set the ModelFrame to display a model of the specified unit.
 
Set the ModelFrame to display a model of the specified unit.

Latest revision as of 17:56, November 2, 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.

Around Wikia's network

Random Wiki