all those four 6 button presses are made in almost the same exact moment I feel like
(right next to each other in the code, without any time delay, not like in Combo Presses)
To ensure its cast I would put it into Combo Press with 100 or maybe 200 ms delay,
something like this:
[combo presses]
combo1=w:6,6,6,6,6
delay1=200
I think it might a better insurance.
Combo Holds does currently have local key_native_functionX
Thatās kinda lazy - not wanting to hold LMB while holding Z with Movement Skill
You could also have it in autocast by hold with movement skill spam activated on double LMB Press + Hold
This way after this double click + hold youāre both moving and spamming movement skill
and itās more natural than having special z button.
[edit] But Your Move doesnāt target Monster or anything so I think itās different than LMB movement if I remember Move correctly.
It is and it isnāt ālazyā. Iāve had repetitive strain issues in the past and my mousing hand/wrist is the one that tends to get tired and achy. Less button pressing/holding is good for me and might extend the life of my mouse too.
Ok, if you want I can implement
HOLD ON TOGGLE
so that you can combine it with
AUTOCAST ON TOGGLE
and have all these
ON TOGGLE
so that you donāt have to hold Z
Btw Iāve sent you another test on PM.
If it doesnāt work (or rather improve / is the same as 1st test)
then Iām taking a break from it
and come back some other time with fresh mind / different approach.
[hold on toggle] seems great. It would probably even solve the one thing for which Iām still using native AutoHotKey - implementing a toggle hold for sprinting in Conan Exiles.
[autocast by hold]
cast7=RButton:1,1,1
delay7=100
time_out7=4000
inner_delay7=100
Here it prevents 1, 1, 1 to be cast for 4 seconds after you press
(and maybe hold to have 1,1,1 instead of just 1 due to inner_delay)
Before without this option even if you spammed every 4 seconds
if you released and pressed RMB again, you could restart the whole thing
and cast ABB far before 4 seconds passed.
Now you can press and release RMB multiple times and it still wonāt press 1
for the duration of 4 seconds after first cast.
We have inner_delay and 1,1,1 instead of just normal 1 spam
to attempt to cast ABB 3 times in 100ms intervals to ensure itās not
interrupted by something else
Since GD only allows for one key being held, for this particular example, I assume either 1 or 2 is going to be treated as held down if āqā is pressed, but not both. Probably not too useful, for GD, but maybe for another application.
In fact, it is perfect for my CE usage as I can toggle both mount and character sprint with one key that way, since CE does allow for multiple simultaneously held keys.
Iām probably doing something wrong, but the following script isnāt working for me. The [autocast by toggle] part seems to be working, but not the [toggle holds] part.
CMT= pressing āzā makes up be held down which makes me move
CMT= constantly toward the cursor until pressed again.
toggle1=z:Up
[autocast by toggle]
key_native_function=true
delay=100
initial_delay=0
CMT= toggling āzā on makes move fasts go off whenever they are ready.
CMT= Z and X are Blitz and Amatokās Breath, respectively.
CMT= Blitz only activates if cursor is on a valid target.
cast2=z:z,x
key_native_function2=false
I made sure to download the latest version as linked in your last post.
I alt-tab away all the time, usually with the game paused. The fact the behavior changes (losing toggle casts for example) is actually quite irritating. I donāt often use Suspend, so I didnāt realize that reset, but if I did and it changed when the game lost focus, Iād find that irritating too.
tl:dr, I do think it should be preserved (as should toggles).
[autocast by toggle] is preserved
(can be also forced to be either on or off)
Maybe you mean something else?
Anyway, I find Suspend not being preserved irritating too.
It was preserved in some earlier version of the program
but I lost it after forcing restart after game regains focus
(which is necessary) but Iāll re-add it.
I usually code autocast_right_awayX=false, because I like to start it up myself, but I always lose the autocast when I alt-tab away and back and have to use the reset key to start it back up.
As an aside, there is clearly an interaction between the toggle key and the reset key, because whether togged on or off, the reset key will start the casting cycle.
In another game, Iād like to be able to have a suspend key on all the things that end up putting me into some form of chat (Enter,/,`), since I want to just enter text at that point. Pressing Enter again to remove the suspend.
Wow, fast! I do see a problem, the suspend key isnāt passed through at all, so enter now doesnāt put me in to chat, it only suspends. I think it needs a ākey_native_function=ā sort of thing to be used in the way I was thinking.