VeteranXX
|
My goal is to have it so one button will cast all of my motifs one after another on each keypress. I do not want something that will automate the casts one after another on just one keypress - I want some control as to when I cast each in case I have to interrupt the rotation to do something else. With that in mind, I would, ideally, like some sort of timed reset, so if the key isn't pressed after, say, 10 or 15 seconds, the macro would reset and start at the first motif bind. Does anyone know if this would be possible, and if so could anyone familiar with a macro program like Autohotkey help me out? Would appreciate it a lot. Also, if anyone was wondering, Trion okayed the macro capabilities of gaming keyboards as long as you are physically at the computer, so this should be fine as far as the eula goes.
|
|
|
VeteranXX
|
honestly im more pissed off that you cant change the keybind of zoom out/in from your mouse scroll and thus can't use mousescroll for anything but zoom out/in
sorry for hijacking, but i just use shift+1-5 for my motifs and it works fine.
|
|
|
VeteranXV Contributor
|
I'm new to AHK, but this will work for the most part.
Just be weary of multiple key presses. What they really need is castsequence.
Replace $1 with your keybind and Send 1-5 with the keys you want to send. Enough to get you started anyway.
Code:
mcnt = 1
Hotkey, $1, motif_loop
return
motif_loop:
if mcnt = 1
Send 1
if mcnt = 2
Send 2
if mcnt = 3
Send 3
if mcnt = 4
Send 4
if mcnt = 5
Send 5
mcnt++
if mcnt > 5
mcnt = 1
SetTimer, reset_loop, 15000
return
reset_loop:
SetTimer, reset_loop, off
mcnt = 1
return
|
|
|
VeteranXX
|
Nice that seems to work, thanks. Yeah, kind of sucks you have to be careful of spamming.
|
|
|
VeteranXV Contributor
|
So this might be better. I haven't tried this in game yet, but basically every release of key press (personal preference, change $1 up to $1 down to make it on key press, or just $1 to make it like a normal key in which case you can just hold the key down to cast your motifs assuming you have energy for it) will go through the 5 keypresses. Multiple presses within 1 second (GCD for rogues I think), will keep it at the value. Resets after 15 seconds.
Code:
mcnt = 1
dlyflg = 0
Hotkey, $1 up, motif_loop
return
motif_loop:
if mcnt = 1
Send 1
if mcnt = 2
Send 2
if mcnt = 3
Send 3
if mcnt = 4
Send 4
if mcnt = 5
Send 5
if dlyflg = 0
{
SetTimer, incr_mcnt, 1000 ; Put your GCD delay here
dlyflg = 1
}
SetTimer, reset_loop, 15000 ; Time to wait before reset to zero
return
incr_mcnt:
SetTimer, incr_mcnt, off
mcnt++
if mcnt > 5
mcnt = 1
dlyflg = 0
return
reset_loop:
SetTimer, reset_loop, off
mcnt = 1
return
|
|
|
VeteranX Contributor
|
Buddy of mine says that is to many lines?
Did you get it working?
update plz
|
|
|
VeteranX Contributor
|
thanks.
|
|
|
VeteranXX
|
i do this with my mouse software, it took some fiddling to get the delay right for the GCD but it works 99% of the time now, if i get interupted or sotmhing it messes it up kinda but i just recast and it works fine. i have a logitech g700 mouse btw
|
|
|
VeteranX
|
here is a quick one you can start out with and modify:
Code:
$1::
mcnt = 1
Loop 3
{
Send %mcnt%
Sleep 1250
mcnt++
}
return
pressing 1 will loop 3 times and activate a number every 1.25 secs
|
|
|
VeteranX
|
Quote:
Originally Posted by styr
honestly im more pissed off that you cant change the keybind of zoom out/in from your mouse scroll and thus can't use mousescroll for anything but zoom out/in
sorry for hijacking, but i just use shift+1-5 for my motifs and it works fine.
|
Same. shift 1-5 ftw. God I wish the in-game macro system allowed queueing.
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
AGENT: CCBot/2.0 (https://commoncrawl.org/faq/) / Y
All times are GMT -4. The time now is 21:27.
|