I am unable to search for answers, as I really don't know how to phrase the question. This is what I got:
Medal of Honor: 2010 has a dual-function crouch key.
Tap "a" and character crouches
Tap "a" or "space" and character stands up
HOLD "a" and character crouches momentarily and then lays down into a prone position
Tap "space" and character stands up
My goal would be hold the "a" key indefinitely and character remains crouched position... let go and stands up again
-----------------------------------------------------------------------------------------------------------
a::
Send {p down}<-------------------------------------------------------------;mapped crouch to "p"
KeyWait, a<-------------------------------------------------------------;hoped this would stop continue to prone, but does not
Send {p up}
-----------------------------------------------------------------------------------------------------------
This code works in some similar circumstances, but not in this one
toggle to hold.... sort of
toggle to hold.... sort of
I have a bit of experience opening and sending commands to game console and CMD.exe... just ask
Re: toggle to hold.... sort of
Hallo,
untested, try:
untested, try:
Code: Select all
$a:: ;User holds "a"
Send, a ;Script taps "a" and character crouches
KeyWait, a ;Script waits until the user releases "a"
Send, {Space} ;Script taps "Space" and character stands up
Return
Re: toggle to hold.... sort of
Thank you
... but didn't work
I have been messing with it and appears to be one of those games that has "hard coded" functions and no amount of scripting can
change that.
I like the script though, so I will keep it on hand and looks like I will be able to apply it somewhere else
Many thanks,
... but didn't work
I have been messing with it and appears to be one of those games that has "hard coded" functions and no amount of scripting can
change that.
I like the script though, so I will keep it on hand and looks like I will be able to apply it somewhere else
Many thanks,
I have a bit of experience opening and sending commands to game console and CMD.exe... just ask
Re: toggle to hold.... sort of
~a Up::Send, {Space}
Re: toggle to hold.... sort of
Hey, Xtra.... I like your idea, but unfortunately the character continues to drop to prone when the key is held down. So
I want the game to "think" that I have let go of the key after character crouches, but before continuing to prone position.
Looking back at it now, I think my description in initial post could have been better.....
Tap "a" and release.... character crouches
Tap "a" and release again.... character stands back up
Hold "a" for 2 seconds and character pauses at crouch for a fraction of a second and continues down to prone
Tap "space" and release.... character gets off his belly to standing position
With that said, I tried your idea, but it needs more code. Now with a better understanding of what needs to happen, can you add to this script?
Thanks,
I want the game to "think" that I have let go of the key after character crouches, but before continuing to prone position.
Looking back at it now, I think my description in initial post could have been better.....
Tap "a" and release.... character crouches
Tap "a" and release again.... character stands back up
Hold "a" for 2 seconds and character pauses at crouch for a fraction of a second and continues down to prone
Tap "space" and release.... character gets off his belly to standing position
With that said, I tried your idea, but it needs more code. Now with a better understanding of what needs to happen, can you add to this script?
Thanks,
I have a bit of experience opening and sending commands to game console and CMD.exe... just ask
Who is online
Users browsing this forum: joedf and 31 guests