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

Anyway to remove Attack and Stop command icons from buildings/units?

Status
Not open for further replies.
Level 13
Joined
Mar 24, 2010
Messages
950
I want the building/tower to still be able to attack auto and by right clicking an enemy but I dont want the icons to show on the building.
I cant use Ward class because i have other icons on it i need to see.
I know the # ID is 851972 for stop and Attack is 851983
Cant find a way to remove these icons with code.
Anyone know of a way? :)
 
Yeah it has that and works well when testing, but after going through the optimizer in older editor and then being played on reforged it shows the attack UI still. (when playing on an older wc3 version than reforged it still works fine after optimization.)
So thats why i was thinking i could make a way to fix it just in reforged with some script or something. If not i'll have to find another way..
Seems some of the ability IDs changed or something, not sure why that setting wouldnt work right in reforged.
 
You can edit the CommandFunc file to hide these buttons for all units.
That thread is a little dated, you can type X:0, Y:-11 to hide the button in the file.

Here's a file I had sitting on my desktop, I probably hid some things already.
 

Attachments

Is that like a hotkey file? also i want it to only affect certain buildings not all of them so that wont work for this case. :/
I may just have to change the order with optimizing if there is no code to fix it after the fact.
 
Status
Not open for further replies.
Back
Top