• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Solutions to Item Naming

Status
Not open for further replies.
Level 8
Joined
Oct 2, 2013
Messages
288
Currently there is a bug in the Editor where you cannot use the GUI calls Set Item Name or Tooltip. The items don't get updated in game.

I just need a way to let the player know what Level their items are. As a temporary solution, I have a chat command that iterates through the inventory and tells the player what level each item is.

So I'm wondering what alternatives there are to fix this. Any input is appreciated.

If there is a solution with code, I will be happy to learn and implement it. I'm also happy to hear other suggestions for work-arounds.
 
Level 8
Joined
Oct 2, 2013
Messages
288
I would see if the item name/tooltip updates if you forcibly drop the item and then give it back to the unit holding it (potentially hiding/unhiding it while dropped, too).
This also came to my mind, but unfortunately it doesn't seem to update.
I know with some abilities, when changing and integer or real field, it will update after changing the level of the ability. But unfortunately I haven't found a similar "update trick" to items.

EDIT: I did a test where I try to debug the item name of the item after calling Set Item Name. An update trick might not work. It seems the call is returned/cancelled as the debug still shows the original name.
 
Status
Not open for further replies.
Top