Controlling Auto-cast targets, one way or another

Evoroth

New Member
Reaction score
11
I have unit a, which has an autocast ability which only has effect on units of type b and c. What should I do to make unit a only cast it on b and c? I tried to make b and c suicidal, and add "suicidal" to the ability's allowed targets. But then, b and c couldn't be loaded into transports, even when I added "suicidal" to the load ability's allowed targets.

So, How do I solve this issue?
 

oorosco

New Member
Reaction score
23
simple, set everything back to normal and do a trigger like this:

Code:
event:
unit begins casting ability
condition:
ability is equal to autocast
unit condition- if target of ability being cast is not equal to a or unit condition- if target of ability being cast is not equal to b
action:
order triggering unit to stop
 
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