How do i do this?

sidove

Member
Reaction score
22
I have seen people doing this but don't know how:

Replace the attack ability of a unit to your own.
 

egomanyak

New Member
Reaction score
8
I have seen people doing this but don't know how:

Replace the attack ability of a unit to your own.

What you mean? i thinked you want to change abilitys of unit to custom abilitys but... you have 700+ post :D so, what is the problem ?
 

canons200

New Member
Reaction score
50
i also can't understand what is "Replace the attack ability of a unit to your own"

hmm, like spellsteal?
 

Tawnttoo

New Member
Reaction score
36
I suppose it is done by removing attacks from the unit and adding your custom ability with its button position to (3,0). The effect, I suppose, is fully triggered.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
You mean changing the tooltip of the "Attack" button ? :eek:

Then I believe it's under Game Interface ;)

It's under "Text - Tooltip - Attack" :D
 

sidove

Member
Reaction score
22
i also can't understand what is "Replace the attack ability of a unit to your own"

hmm, like spellsteal?
Reply With Quote
Haha no, i mean like replace the original ATTACK ability (right-click to attack) with your own ability xD

You mean changing the tooltip of the "Attack" button ?

Then I believe it's under Game Interface

It's under "Text - Tooltip - Attack"

No like replace the whole ability.

I suppose it is done by removing attacks from the unit and adding your custom ability with its button position to (3,0). The effect, I suppose, is fully triggered.

Yeah, that is how, but the problem is i don't know how to remove the attack o_O
 

canons200

New Member
Reaction score
50
if you want to remove the attack button, easy, under your unit's combat attack enable, set it nope. then you would be able to see the attack button appear.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Here's a JASS way to do it:
Trigger:
  • Custom script: call UnitRemoveAbility( GetTriggerUnit(), 'Aatk' )


This will remove the attack ability from Triggering unit :D

But, if you don't want to use this, there's a small "bug" with the "Cargo Hold (Orc Burrow)" ability (It isn't actually a bug, as the Orc Burrow can't attack...), which will remove the attack ability when added to a unit :D

Trigger:
  • Unit - Add Cargo Hold (Orc Burrow) to (Triggering unit)
 
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