Yet Another Syntax Error

N-a-z-g-u-l

New Member
Reaction score
30


should work...
+ it is cleaner

IsUnitEnemy or IsPlayerEnemy return "boolean"
but a comparison true == true returns "boolean", too
(true==true)==(true==false)
for example^^
it would compare true==true -> true to true==false -> false, result would be false

or just the easy way: functions returning booleans dont have to be compared to anything (instead of IsUnitType, it is the ONLY function where you need this... just a littile wc3 bug)
 

T.s.e

Wish I was old and a little sentimental
Reaction score
133
Thanks. It worked :D +Rep to both of you.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top