• 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.

Anyone know how to use F keys? like F5, F6 etc..

Status
Not open for further replies.
Level 18
Joined
Oct 17, 2012
Messages
849
I am not sure whether Dr. Super Good is correct because I remember seeing a Wc3 map using the F keys to do certain actions. If I remember the map name, I will pm you it if you want.

Edit: Well, the name of the map is "Aegaeus". Now, maybe you can contact the author and ask him how he detected the F keys.
 
Level 5
Joined
Nov 30, 2012
Messages
200
Aren't F keys used for selecting heroes? If so, you could hide the hero and make say five of them if you wanted to use the F5 key. Then use a selection event.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
I am not sure whether Dr. Super Good is correct because I remember seeing a Wc3 map using the F keys to do certain actions.
If they trigger a selection you might use that to detect them but for menu and things it is not possible.
That is how some WC3 maps did it. Although it does force you to deselect your current unit and there will always be a delay due to synchronization before you can get a player back to his previous selection. Overall a rather ugly solution to the problem that kind of works.

In StarCraft II key press events are much better and do not force you to change unit selection.
 
Status
Not open for further replies.
Top