Snippet AutoFly

Jesus4Lyf

Good Idea™
Reaction score
397
JASS:
library AutoFly requires AIDS
    private struct Hack extends array
        //! runtextmacro AIDS()
        private method AIDS_onCreate takes nothing returns nothing
            if UnitAddAbility(this.unit,'Amrf') then
                call UnitRemoveAbility(this.unit,'Amrf')
            endif
        endmethod
    endstruct
endlibrary

-->
JASS:
library AutoFly requires AIDS
    private struct Hack extends array
        private static method AIDS_filter takes unit u returns boolean
            if UnitAddAbility(u,'Amrf') then
                call UnitRemoveAbility(u,'Amrf')
            endif
            return false
        endmethod
        //! runtextmacro AIDS()
    endstruct
endlibrary

:)
 
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