• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[General] Is there a way to hide the "Attack Ground" button for artillery units

Status
Not open for further replies.
Level 9
Joined
Mar 17, 2016
Messages
156
I want to hide the "attack ground" button from my units and have instead a custom ability that will essentially act as a replacement for "attack ground". The only real difference is that I am using "Channel" with "Unique Cast" checked. It's not mandatory to have, but if it is possible it would clean this unit's UI up a lot.

Thanks in advance!
 
Import the file I attached into your map and change it's File Name to: Units\CommandFunc.txt

If you want to hide some of the other buttons all you have to do is edit the file in Notepad.
You'll see the names of buttons like Stop followed by an x,y value. Set the x,y to 0,-11 to hide it.
 

Attachments

Thanks for the response, though I should have been more clear. For this to work it needs to only affect 1 unit, as I will not be replacing every unit's attack ground with the custom ability. Would either of these solutions work for that purpose?
 
You could import the file and then add a "fake" Attack Ground ability to the units that need the Button.
That's a good idea, though I don't think it's necessarily worth the effort for my case as it is completely optional anyways. I'm sure that players will understand to use the other button if it has a good tooltip.

Unless there is a definitive way of doing this, this can be considered "resolved" :P
 
Status
Not open for further replies.
Back
Top