Check if unit has ability before removing it?

MP®

Member
Reaction score
11
I was just wondering.. Does it actually make sense to check if a unit has a certain ability, if you want to remove it in a trigger? I often just remove it, whether it has it or not.. If it doesn't have it, it can't remove it, so just nothing happens.. Or can this cause bugs or something?
 

OMGOMGOMG

UMBWGMG (Unidentified Human Being.)
Reaction score
28
Well, you can choose the safe option of checking. But it shouldn't cause bugs.
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
Does absolutely nothing.
If the unit doesnt have the ability nothing will happen.
 
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