So you have multiple units selected and by the press of the button determined in your script it will cycle through the units and at the same time jump to the location where the unit that is currently selected is?
What kind of keyboard are you using, and what exact key has this function?
(Im asking because on my german keyboard the ' key doesent do anything, but the Ä key can be used to move the camera to the location of a unit/group)
@Senseo1990: Yes, it works exactly like that for azerty keyboards. I'm using an azerty keyboard. I tried with qwertz keyboard and indeed "Ä" key works fine when only one unit selected but don't works with units in control group.
@lethalpi: Yes, SendInput is a function to send a sequence of keys. There are no delay involved but you can add delay with others functions like SetKeyDelay.
I'm not an expert on AutoHotkey so I invite you to look at the commands manual if you want more details. (I don't want to say whatever. )
@Senseo1990: Yes, it works exactly like that for qwerty and azerty keyboards. I'm using an azerty keyboard. I tried with qwertz keyboard and indeed "Ä" key works fine when only one unit selected but don't works with units in control group.
That is very interesting, now I only have to find the key that has the desired functionality on my keyboard, because the ' key doesent do anything for me :/
Okay, youre right i just tested it and the ' key does this in the azerty layout, just like the 4 key in the qwerty layout.
That is quite amazing. Thanks a lot, i will try to incoorporate that in my ahk script. I just need to see how, as the number 4 key is also used for control groups
What the ' key or 4 key does is cycling through the group of units, without actually selecting any unit
It moves the camera to unit 1 of the group, then unit 2, and so on, but never actually selects the unit.
It doesent work too well in conjunction with tab, because tab also selects the whole group after selecting every individual unit and therefore the tab selection-cycle and the ' camera-cycle become asynchronous
Lots of mouse have now multitude of buttons than you can use with AutoHotkey (or your mouse software) in place of "key" below : WheelLeft, MButton (Middle or wheel mouse button.), WheelRight, XButton1 (4th mouse button. Typically performs the same function as Browser_Back.) or XButton2 (5th mouse button. Typically performs the same function as Browser_Forward.)
Sorry for bringing this up here but I am horrible with computers. I have a Cmstorm keyboard that I think have som programing abilities. Does it work to rebind your keys with a keyboard or do I have to have to get autohotkeys to rebind the tacmapbutton in coh2?
Sorry for bringing this up here but I am horrible with computers. I have a Cmstorm keyboard that I think have som programing abilities. Does it work to rebind your keys with a keyboard or do I have to have to get autohotkeys to rebind the tacmapbutton in coh2?
There are a lot of CM Storm keyboard. Which one you have ? You have the list of all CM keyboard here.
Lady Xenarra: Does anyone else think that USF needs buffs? It feels like they’re on life support sometimes 01 Apr 2025, 02:36 AM
Willy Pete: @Rosbone Ahh I missed that memo. I still think its a bad decision though. Adds frustration for players and isnt gonna make them that much money 27 Mar 2025, 15:46 PM
Rosbone: It is also good they left it free until after the free to play weekend. Points for that. 27 Mar 2025, 09:34 AM
Rosbone: But I agree, the cost to get a full decent Coh game pushing $115 US is not the best idea. Especially when it needs so much more work for casuals. 27 Mar 2025, 09:32 AM
Rosbone: To be fair, it was a thank you to early fans right? They said it was not free for long and it would become a pay DLC at some point. 27 Mar 2025, 09:30 AM
Willy Pete: Re-releasing free DLC so they can charge new players money for it. Brilliant marketing strategy 27 Mar 2025, 04:31 AM
Soheil: Coh2 still broken server ? 25 Mar 2025, 18:27 PM
Rosbone: Congrats to Relic. Looks like Coh3 has finally usurped Coh2 s the popular Coh. You smell terrific. . 24 Mar 2025, 02:46 AM
Nickbn: and again someone else replies. I mean come on guys. Give @adamírcz a chance 22 Mar 2025, 14:00 PM
Willy Pete: @Nickbn you didn't ask a question, and this is a chat box... 20 Mar 2025, 13:11 PM
Nickbn: @Rosbone it's incredibly rude to speak on someone elses behalf, especially when a question is directly adressed to them. I understand your passion for the subject at hand but I want to hear from him. 20 Mar 2025, 10:16 AM
Rosbone: @Nickbn No, I am just saying people should not be using any Relic owned forum since they have proven they ban anyone who says true things about Coh3. 18 Mar 2025, 19:01 PM