Page 1 of 1

Attack Order

Posted: May 23rd, 2009, 9:06 pm
by Perhaps
I don't know if this is intended or not, this was also before 1.12c2...

Attack Order cannot target flying units/heroes and can't target magic immune (like obelisks).

Re: Attack Order

Posted: May 23rd, 2009, 9:36 pm
by DarnYak
Intended. Against air units it got really nasty side effects like footman trying to attack but being unable, or the air hero flying off and fucking up pathing (plus archers focusing harpy drops her insanely fast)

The magic immunity thing is an accident i may correct later. Ob towers may loose their immunity anyway though.

DarnYak

Re: Attack Order

Posted: May 23rd, 2009, 9:56 pm
by Perhaps
What about filtration?

Code: Select all

if CanAttackAir(unit) and IsFlying(target) then
   call DoNotInlcudeUnit(unit)
endif
And maybe a level requirement for doing attack order on air? >_>