Thread
:
Character name in XML
View Single Post
04/27/15, 06:40 AM
#
2
Ayantir
Join Date: Jul 2014
Posts: 1,019
If you got in XML :
Lua Code:
<
Label name
=
"myControl"
/>
In LUA, it will be :
Lua Code:
mycontrol:SetText
(
GetUnitName
(
"player"
)
)
There is other ways to do this, but this one is almost quite easy.
Ayantir
View Public Profile
Send a private message to Ayantir
Visit Ayantir's homepage!
Find More Posts by Ayantir