• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Force F key

Status
Not open for further replies.
Level 10
Joined
Mar 26, 2017
Messages
376
I want to trigger the opening and closing of several system framess like 'Menu' 'Ally' etc, and I figure the easiest way would be to force a key press.

Unfortunately something like ForceUIKey("F12") doesn't give the desired result. Anyone know if possible, what is the required input to force a F-key press?
 
Level 9
Joined
Sep 20, 2015
Messages
385
mmm then i think it wont be possible.

Don't know if thiss will work but maybe you can try to change the hotkey for f12, there should be a text config file where all the hotkeys are set, it can be found if you unpack the casca archive and extract it. You cna change the values and then you can import it into the map in asset manager, import it to the path name something like /units/commandcfg.txt (the name is not right).

And then in game use one of the keys that can be forced.

I think only normal UI keys for abilities and stop attack move etc.. can be forced.
 
Status
Not open for further replies.
Top