|
Post by Ben M on Feb 14, 2021 3:16:52 GMT
I am trying to create a macro for a game and need to move forward for 2 seconds, jump, and then backwards for 4 seconds.
The macro is something like this:
1 | 1072 | 1040 | 3736 | Keypress w
2 | 865 | 440 | 889 | Keypress space
3 | 1112 | 1038 | 848 | Keypress s
But what I think it's doing is a single key down/up for w, then space, then s.
Is there a way to signal that 'w' should be pressed for 2 seconds, then press space (which can just be an instant key down/up) and then press 's' for 4 seconds?
Thanks for any assistance!
Ben
|
|
|
Post by Steve on Feb 14, 2021 8:26:55 GMT
Key Down/Key Up is the way to go for this 1 | 1072 | 1040 | 3736 | Keypress w | Key Down 1 | 1072 | 1040 | 2000 | Keypress w | Key Up 2 | 865 | 440 | 100 | Keypress space 3 | 1112 | 1038 | 100 | Keypress s | Key Down 4 | 1112 | 1038 | 4000 | Keypress s | Key Up Line 1 - 'w' down Line 2 - 'w' up after 2 seconds Line 3 - 'space' 100 ms after Line 4 - 's' down Line 5 - 's' up after 4 seconds
This post ( minimousemacro.proboards.com/thread/205/multi-key-pressing) has another example. Hope this helps!
|
|
|
Post by philranger on Feb 14, 2021 16:16:53 GMT
Does this work with modifier keys such as shift or alt?
|
|
|
Post by Steve on Feb 15, 2021 7:09:15 GMT
Does this work with modifier keys such as shift or alt? No unfortunately not. Modifier keys such as shift and alt are treated differently in MMM.
|
|
|
Post by philranger on Feb 15, 2021 22:36:38 GMT
Thanks!
|
|