- Joined
- Mar 16, 2009
- Messages
- 354
is there a trigger to hotkey a unit? If so what functions are used to do so?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
uhh...backspace works with town halls...the bottom left corner works with workers, and f1-f4 works with heroes. you can modify units to work as those things even if they aren't fully those things. but if you're trying to hotkey units to a control group i don't think such a thing is possible in the editor...afaik. but there are ai commands which you might need which could acheive a similiar effect if this is to be done for the sake of computer players. those ai commands i think are located in common.ai and are enigmatic. i wonder if they work for players that aren't computer players...hmm.
NO, but you can use ALT+1-0 to make unit groups, that way you can assign for example a footman to #1 or #2 and so on
You are questioning what is the function of.. Hotkeys ???
I'm sure by now, you knew WHAT is the function of it, don't you ?
It is to bind our key on the keyboard to the unit/unit group in the game
Basically, you can have more control access towards your unit, in other words, it's easier to manage your unit
It is essentially useful, even for other game, Real-time Strategy uses Hotkey, like Red Alert and such
Hotkey a unit using trigger ?
You need to base it off of an ability, instant-ability such as Roar
You must have a "base unit" that will perform the ability and your respective unit (same unit-type example: Footman will be the same group with Footman / etc etc)
I'll create a trigger for you, just an hour =D
P/S: Don't just say other people's post "useless", I tried to help you, please, appreciate it.
EDIT:
Test map attached
Selection is based on unit-type, I'm sure you can modify my trigger to your needs
the map sample created a hotkey for 'unit groups' (all type of unit), not for ONE unit, the description says "hotkey a unit", thus pressing CTRL + (1-0) can do 'unit groups' AND 'one unit' and no need for triggers for this method...not to mention its the EASIEST WAY to do it...