Help getting rid of auto attack

insaneownage

New Member
Reaction score
6
I'm having trouble disabling auto attack. I've set acquisition range to 1.00, which stops my unit from automatically attacking nearby enemies. However, if my unit is attacked by an enemy it will automatically counter attack.

Is it possible to get my unit to not auto attack or auto counterattack at all?
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
In the Object Editor, where it says Attacks Enabled, make it None.
 

esb

Because none of us are as cruel as all of us.
Reaction score
329
With unit groups, add all non-attacking units to UnitGroup1
When a unit in UnitGroup1 is order the smart command (Attack), remove it from UnitGroup1
When a unit is ordered to stop/hold position, Add it to UnitGroup1.

Every 0.XX seconds order units in UnitGroup1 to stop.

Basically it's spamming stop. I guess you would have to remove them from UnitGroup1 when they are ordered to patrol/move/etc.
 
Reaction score
107
Give them the worker classification. If you do it in object editor, then you will have the idle worker icon, but if you add it with triggers, I'm pretty sure you won't get the icon.
 
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