• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Divine Shield and custom icons

Status
Not open for further replies.
Level 2
Joined
Nov 1, 2012
Messages
12
I have imported a custom icon to use for a divine shield spell. Everything works fine, but when you cast the ability, the icon becomes a green square. Once the effect ends, the icon goes back to normal. How can I fix this?
 
Level 18
Joined
May 11, 2012
Messages
2,103
You're missing the ''DISBTN'' version of the icon. Make sure you imported both BTN and DISBTN and set the path of
BTN to: ReplaceableTextures\CommandButtons\BTN(name of the icon)
DISBTN: ReplaceableTextures\CommandButtonsDisabled\DISBTN(name of the icon)
 
Status
Not open for further replies.
Top