HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Disabling the command keys

07-20-2003, 01:07 AM#1
Sen
I tried disabling patroll by changing the comandfunc file so that the button is at 4,1 (off the side), but it crashes when I select a unit. How do I disable the patrol command button?
07-20-2003, 07:18 AM#2
Sen
Someone has to know...
07-20-2003, 09:44 PM#3
element_5
The closest I can get to "disabling" the Patrol button is to cancel out its effects using this trigger:

Code:
Stop Patrol
    Events
        Unit - A unit owned by Player 1 (Red) Is issued an order targeting a point
    Conditions
        (Issued order) Equal to (Order(patrol))
    Actions
        Unit - Order (Ordered unit) to Stop
If anyone knows a way to actually remove the button, post it here
07-20-2003, 10:36 PM#4
kharma
You can't actually tell the command buttons to be off the screen. Nor can you actually remove any of them properly without adversely affecting the unit's operation. However, you can reorganise the commandbuttons so that they are aligned along the bottom row, and depending on which buttons are in which order, you can force them off the edge so they can't be seen or activated (Eg. Assigning multiple command buttons to pos 3,2)

You'll have to experiment to see which ones have priority, but the move command will *always* force its way on (It's aggressive like that). FM_TertiaryEye has done more extensive testing with the command buttons then I have, and I'm not certain how much Blizz changed with the way it works in the Expansion Pack.

~kharma
07-20-2003, 10:37 PM#5
FyreDaug
Basically what Kharma said, whatever you dont want to use like patrol/attack ground, things like that, put in the bottom right corner, and maybe they get forced off. I don't know of an easier method.
07-22-2003, 12:44 PM#6
Mm_Dave
In RoC it worked fine when putting them all to position 3,2. But in TFT this no longer works, they just take any free spot :(
I really would like to know what the priorities with overlapping are. If you have 13 Abilities (including commands), which one will be hidden by the others?