Hide Buttons

Elfian

New Member
Reaction score
0
Can anyone tell me how can I hide "Attack" , "Move" , "Stop" , "Hold Position" , "Patrol". I'm making a map and I need more space for spells and I don't want to do it with a spell book. :D
 

Romek

Super Moderator
Reaction score
964
You cant.
you can remove "move" by removing a units movement, and attack by removing its attack.
otherwise i dont think you can
 
Reaction score
333
> Add "ward" to the unit classification.

Great. Then what?
He needs the space for spell buttons, not hidden completely...

My mistake, I thought abilities added after might show, but I guess not. Spell books are the only alternative, then.
 

0zaru

Learning vJASS ;)
Reaction score
60
... but if you remove move and so your unit cannot move directly... you have to trigger the Move and attack.. Also you can remove then but not hide them... (though that you can add the abilitys later)
I know these
JASS:
    call UnitRemoveAbility( GetTriggerUnit(),'Aatk')
    call UnitRemoveAbility(GetTriggerUnit(), 'Amov')


These will remove Attack and move abilitys and i think that will remove all of the rest (Patrol,hold position and stop) Of course if you use GUI They must be inside a custom script and you must change the GetTriggerUnit() for the unit that you will use or a unit variable that you setted...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top