Attack1/Attack2 switch

Doctor-Peppe

New Member
Reaction score
0
I am searching for help with the code that will switch units attacks from 1 to 2 and also from 2 to 1. Something i can't do with upgrades because they can't be degradated.
Tnx, Pepper
 

SFilip

Gone but not forgotten
Reaction score
634
you can use one of the orb abilities. they are actually used to enable attack 1 or 2 (changed with data fields).
 

Doctor-Peppe

New Member
Reaction score
0
No those doesnt work.
Cause even when i set Atack Enable index to 1 (hero default attack enabled set to NONE), it always enable attack 2...
and if attack 1 is already enabled and u add that ability (enable attack 2) then unit will still keep attacking on attack 2. It will work only if u change targets. Like attack 1 attacks air and attack 2 for ground. But never same
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top