Close
Page 1 of 2 1 2 LastLast
Showing results 1 to 10 of 12

Thread: Formation AHK

  1. #1

    Default Formation AHK

    Been working with AHK almost non-stop since I got it. It is a good alternative to Keyclone, soon here I will get it;however, does anyone know how to create a formation script for it?

    One would think that it is something like:

    Code:
    ~End::
    ControlSend,,{a down},Sleep 300,{a up} , ahk_id %idMain%
    ControlSend,,{q down}, Sleep 300,{q up} , ahk_id %idClone%
    ControlSend,,{e down}, Sleep 300,{e up} , ahk_id %idClone2%
    return
    (yes I know Sleep xx is not legal... but It was an idea, I know that it should work without it as well... but neither work)

    Ideas?
    [align=left]Syringa -- Helianthus [hunter]x2 -- 61[/align]
    [align=left] [||||||||||||||||||||||..................]80 [/align]
    [align=left]Odaki -- Medaki [druid]x2 -- 60[/align]
    [align=left] [|||||||||||||||||||||...................]80 [/align]

  2. #2

    Default

    Any ideas? Im out of them...
    [align=left]Syringa -- Helianthus [hunter]x2 -- 61[/align]
    [align=left] [||||||||||||||||||||||..................]80 [/align]
    [align=left]Odaki -- Medaki [druid]x2 -- 60[/align]
    [align=left] [|||||||||||||||||||||...................]80 [/align]

  3. #3

    Default

    ~PgDn::ClonesPush("{PgDn down}")
    ~PgDn Up::ClonesPush("{PgDn up}")
    ~PgUp::ClonesPush("{PgUp down}")
    ~PgUp Up::ClonesPush("{PgUp Up}")

    Bind forward and back keys to page down so that two characters will move forward and two backwards, then bind strafe left and strafe right to page down so that two chararcters move left and two move right. (Or use any keys you want really)

    The result is:

    x........x
    ....X.....
    x........x


    and yes sleep is bad

  4. #4

    Default

    So how does this work? What is 'ClonesPush' in ahk? You do see how I have my other commands? Does it matter?

    ~PgDn::ClonesPush("{PgDn down}")
    ~PgDn Up::ClonesPush("{PgDn up}")
    ~PgUp::ClonesPush("{PgUp down}")
    ~PgUp Up::ClonesPush("{PgUp Up}")
    [align=left]Syringa -- Helianthus [hunter]x2 -- 61[/align]
    [align=left] [||||||||||||||||||||||..................]80 [/align]
    [align=left]Odaki -- Medaki [druid]x2 -- 60[/align]
    [align=left] [|||||||||||||||||||||...................]80 [/align]

  5. #5

    Default

    This creates an error "Call to nonexistent function". =\ Any more ideas?
    [align=left]Syringa -- Helianthus [hunter]x2 -- 61[/align]
    [align=left] [||||||||||||||||||||||..................]80 [/align]
    [align=left]Odaki -- Medaki [druid]x2 -- 60[/align]
    [align=left] [|||||||||||||||||||||...................]80 [/align]

  6. #6

    Default

    My AHK is probably set up differently then yours.

    WinGet, WowWinId, List, World of Warcraft

    ClonesPush(strKeys)
    {
    global WowWinId1
    global WowWinId2
    global WowWinId3
    global WowWinId4
    global WowWinId5
    IfWinNotActive, ahk_id %WowWinId1%
    ControlSend, , %strKeys%, ahk_id %WowWinId1%
    IfWinNotActive, ahk_id %WowWinId2%
    ControlSend, , %strKeys%, ahk_id %WowWinId2%
    IfWinNotActive, ahk_id %WowWinId3%
    ControlSend, , %strKeys%, ahk_id %WowWinId3%
    IfWinNotActive, ahk_id %WowWinId4%
    ControlSend, , %strKeys%, ahk_id %WowWinId4%
    IfWinNotActive, ahk_id %WowWinId5%
    ControlSend, , %strKeys%, ahk_id %WowWinId5%
    }

    thats at the top of my script.

  7. #7

    Default

    Ok, I will give it a shot.
    [align=left]Syringa -- Helianthus [hunter]x2 -- 61[/align]
    [align=left] [||||||||||||||||||||||..................]80 [/align]
    [align=left]Odaki -- Medaki [druid]x2 -- 60[/align]
    [align=left] [|||||||||||||||||||||...................]80 [/align]

  8. #8

    Default

    Still no good... when I hold it down the characters act as if i was pressing my keys really fast.. looks funky... and it doesnt work at all with the sleep command, so thats out (despite that it is not legal =O)
    [align=left]Syringa -- Helianthus [hunter]x2 -- 61[/align]
    [align=left] [||||||||||||||||||||||..................]80 [/align]
    [align=left]Odaki -- Medaki [druid]x2 -- 60[/align]
    [align=left] [|||||||||||||||||||||...................]80 [/align]

  9. #9

    Default

    bump for help?
    (heading off to bed... but still need that help!! =))
    [align=left]Syringa -- Helianthus [hunter]x2 -- 61[/align]
    [align=left] [||||||||||||||||||||||..................]80 [/align]
    [align=left]Odaki -- Medaki [druid]x2 -- 60[/align]
    [align=left] [|||||||||||||||||||||...................]80 [/align]

  10. #10

    Default

    Code:
    #IfWinActive, World of Warcraft
       Numpadadd::        	
       ControlSend,,{s down},  ahk_id %wowid1%
       ControlSend,,{e down},  ahk_id %wowid2%
       ControlSend,,{q down},  ahk_id %wowid3%
       KeyWait Numpadadd
       ControlSend,,{s up},  ahk_id %wowid1%
       ControlSend,,{e up},  ahk_id %wowid2%
       ControlSend,,{q up},  ahk_id %wowid3%
    return

    Of course, this is only for tripleboxing, switch the numpadadd with w/e button you want it to be.

Similar Threads

  1. wow shaman formation
    By gigauae in forum General WoW Discussion
    Replies: 1
    Last Post: 09-15-2008, 08:10 PM
  2. formation
    By aliguu in forum New Multi-Boxers & Support
    Replies: 2
    Last Post: 08-06-2008, 12:19 PM
  3. Formation
    By Apollo127 in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 07-02-2008, 05:04 PM
  4. Formation Macros.
    By Voidshift in forum Macros and Addons
    Replies: 1
    Last Post: 06-27-2008, 01:40 AM
  5. Formation Macros?
    By Jusa in forum Macros and Addons
    Replies: 1
    Last Post: 11-21-2007, 05:43 PM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •