49
edits
(Created page with "Paint a Texture object with the specified UnitId's portrait. SetPortraitTexture(texture, "UnitId") == Arguments == ; texture : The texture object. Any can be used, from ...") |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{wowapi}} | |||
Paint a Texture object with the specified [[UnitId]]'s portrait. | Paint a Texture object with the specified [[UnitId]]'s portrait. | ||
SetPortraitTexture(texture, "[[UnitId]]") | SetPortraitTexture(texture, "[[UnitId]]") | ||
== Arguments == | == Arguments == | ||
; texture : The texture object. Any can be used, from XML to a object created in LUA. | ; texture : The texture object. Any can be used, from XML to a object created in LUA. | ||
; UnitId : see [[UnitId]] | ; UnitId : see [[UnitId]] | ||
== Examples == | == Examples == | ||
Only Lua: | Only Lua: | ||