Right click attack = false

B

Bjerven

Guest
i want to make it impossible to right click a hostile unit to autoattack the targeted unit, i tried something like this but it aint workin, plz help

Notattack


Events
Unit - A unit owned by Player 1 (Red) Is issued an order targeting an object
Conditions
(Issued order) Equal to (Order(right click))
Actions
Unit - Order (Triggering unit) to Stop
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Right click is the order "smart".


> right click a hostile unit to autoattack

Auto-attack would actually happen automatically, not when ordered...

To prevent attacks in general:

Event:
- A unit is attacked
Conditions:
- ... whatever you need here, like "(Triggering unit) is owned by any ally of (Attacking unit)"
Actions:
- Unit - Order (Attacking unit) to "stop"
 
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