• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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