Page 1 of 1

Item uiName from name

Posted: Sat Sep 22, 2012 6:30 pm
by cromcrom
Hi, is there a way to get the uiName of an object from its name ?

Thanks in advance :-)

Re: Item uiName from name

Posted: Sat Sep 22, 2012 6:38 pm
by Montis
I don't think so, or at least it's not documented. This would be very nice to have, so you could do stuff like

Code: Select all

hudPrint("As you pick up "..item.uiName.." it crumbles to dust because of your curse.")

Re: Item uiName from name

Posted: Sat Sep 22, 2012 6:42 pm
by Lmaoboat
Well I haven't done any hooks yet, but I'm sure there's some way to use them.