Requirement check for unit not having either of two behaviors?

X-maul

AKA: Demtrod
Reaction score
201
For some reason, I cant make this work.

I need a requirement, that checks if a unit does not have either of two behaviors.

So if the unit has the behavior Hit or Fired, the requirement should return false and hide the ability.
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
Code:
And
  Not
    Count Behavior Hit (On unit)
  Not
    Count Behavior Fired (On unit)

Something like that should work?

Another way could be:
Code:
Not
   Or
      Count Behavior Hit (On unit)
      Count Behavior Fired (On unit)
 

X-maul

AKA: Demtrod
Reaction score
201
Oh snap! I was sure I already tried this :b lol thanks it works as it should. I have to stop working on my maps late night.
 
General chit-chat
Help Users

      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