• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Greenboxes

Status
Not open for further replies.
Level 4
Joined
Jul 31, 2008
Messages
109
I have a little problem i have imported buttons with disabled buttons, buttons are working but disabled buttons doesnt
 
Level 11
Joined
Feb 22, 2006
Messages
752
If the button is for an active spell (i.e. you should be able to click the button) make sure the normal (nondisabled) button has the parent filepath:

ReplaceableTextures/CommandButtons/

and the filename is prefixed with BTN, so for example:

ReplaceableTextures/CommandButtons/BTNSomeButton.blp

And the disabled button has the parent filepath:

ReplaceableTextures/CommandButtonsDisabled/

and is prefixed with DISBTN but otherwise has the same filename as the nondisabled button:

ReplaceableTextures/CommandButtons/DISBTNSomeButton.blp


If the buttons are for a passive ability, then it's the same deal only you prefix the filenames with PASBTN and DISPASBTN (I know I read somewhere that DISPASBTN doesn't work but that is wrong, if you try using PASBTN and just plain DISBTN the disabled button won't register).
 
Status
Not open for further replies.
Top