is there a way for units on the ground to display their unit name if a players mouse cursor goes over them?
because in one of the maps im working on there are items on the ground, but there is no way to tell what item it is before picking them up because the Game UI is hidden (and they all use the same model)
so is there a way for those items to display their names without being picked up and put into inventory?
will the tooltip stay on even though the item passes through several inventories of different heroes and ends up again on the ground? it should still display right?
No it doesn't. You have to understand when you edit text in the data editor you're actually editing a reference. By default the highlight tooltip references the same string as the unit name, but by changing the reference path to something else you can make the two different.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
is there a way for units on the ground to display their unit name if a players mouse cursor goes over them?
because in one of the maps im working on there are items on the ground, but there is no way to tell what item it is before picking them up because the Game UI is hidden (and they all use the same model)
so is there a way for those items to display their names without being picked up and put into inventory?
cool thx!
will the tooltip stay on even though the item passes through several inventories of different heroes and ends up again on the ground? it should still display right?
No.
It will have to be reapplied every time the item is dropped or created.
Use the condition "Unit Type of Unit" to filter which item gets which tooltip.
Under unit Flags uncheck "No tooltip"
I found no way to customise tooltips using that method. If you just want unit names as tooltips, use that.
Highlight Tooltip field under the unit's actor.
I'm curious why Blizzard chose to use the method I described above over the data field for their tutorial.
This changes the unit's ingame name.
@Eiviyn: Go
No it doesn't. You have to understand when you edit text in the data editor you're actually editing a reference. By default the highlight tooltip references the same string as the unit name, but by changing the reference path to something else you can make the two different.