Wikia

WoWWiki

API PlayerModel SetUnit

Talk0
98,473pages on
this wiki
Revision as of 17:56, November 2, 2007 by Pcj (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Advertisement | Your ad here

Photos

Add a Photo
62,044photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki