Author Topic: Change an item's UINAME on pickup?  (Read 1192 times)

Would it be possible?
for example, a weapon called AWESOMERIFFIC, and when you picked it up its name turned into LULNUBS.

If it is, please give code on how to do it. I've been trying for what seems like an enternity.

It is very possible.
But i can only do it by changing the name of the item for everyone (i think)

The uiName value of a datablock is networked so you'd need to send out a datablock update to all the clients connected telling them to change the uiName to whatever you want.

Generally modifying datablock information on-the-fly is a bad idea and you should avoid it.

I can get it to change the uiname but it still shows up as the previous name in the inventory. Also I'm trying to do it seperately for each item.

No, the only way to do that would be to have client side code that changes the text of the inventory UI.