• 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.

BlzSetItemName native not working

Status
Not open for further replies.
Level 12
Joined
May 29, 2008
Messages
149
I'm having an issue getting the BlzSetItemName native to work. I create an item then call this native to change the name value, but it doesn't work. Same behavior with BlzSetItemIconPath.

Has anyone had luck getting this native to work? Is there some trick? Is it just broken?
 
Level 12
Joined
May 29, 2008
Messages
149
That's not the answer I was hoping for :(

I'm also experiencing a similar issue with setting the icon of an ability. I've tried BlzSetAbilityStringField with both ABILITY_SF_ICON_ACTIVATED and ABILITY_SF_ICON_RESEARCH. Also tried BlzSetAbilityStringLevelField with ABILITY_SLF_ICON_NORMAL. None of these have worked. Are these also broken?

I've been trying with a ability based on Channel.
 
That's not the answer I was hoping for :(

I'm also experiencing a similar issue with setting the icon of an ability. I've tried BlzSetAbilityStringField with both ABILITY_SF_ICON_ACTIVATED and ABILITY_SF_ICON_RESEARCH. Also tried BlzSetAbilityStringLevelField with ABILITY_SLF_ICON_NORMAL. None of these have worked. Are these also broken?

I've been trying with a ability based on Channel.

The object instance natives are zero-indexed so make sure you are using 0 to set the icon for level 1. The natives also return false if they didn't work, although they sometimes return true when not working. Also, sometimes you need to "refresh" the ability by increasing and decreasing the level.

If none of that works there is also BlzSetAbilityIcon, however it doesn't work on a per-unit basis. The best you can get is per-player.
 
Level 5
Joined
Jul 31, 2020
Messages
103
That's not the answer I was hoping for :(

I'm also experiencing a similar issue with setting the icon of an ability. I've tried BlzSetAbilityStringField with both ABILITY_SF_ICON_ACTIVATED and ABILITY_SF_ICON_RESEARCH. Also tried BlzSetAbilityStringLevelField with ABILITY_SLF_ICON_NORMAL. None of these have worked. Are these also broken?

I've been trying with a ability based on Channel.

Yes, string and string level field natives don't function. They do change the field, but the new value is not used.
 
Level 12
Joined
May 29, 2008
Messages
149
From playing around with this a bit, I've found that in general the extended tooltip can be set, but the name/normal tooltips and icons fields don't work. This applies to both items and abilities. I wish these were fixed :/

Is there a place that I can check to see if these have been reported to Blizzard? I can always hope for a patch...
 
Status
Not open for further replies.
Top