HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

more hotkeys

12-10-2002, 12:59 PM#1
Guest
Ok. I don't want to change ability hotkeys with the .txt files and mpq editor.

I don't want to change unit hotkeys in the unit editor.

I don't want dialog hotkeys.

Basically I want to respond to hotkeys and cycle items, so I can find out which item a hero has "active" (let's say the active item is in slot 1) and alter the hero based on that. I would prefer to have a hotkey to either pick items, or at the very least cycle to next item so the player doesn't have to fiddle with them all the time.

I found this searcing and is probably the only thing relavent

If you are thinking of the SHEEP DODGE that came with the WarCraft, then i'm about to burst your bubble. The game can really detect only about 3 to 4 keys. It detects Esc. using -"Players Skips Cinmatic Sequence". It detects "S" using "Unit is Issued Order with No Target" with condition "Issued Order is (STOP)". It detects "H" using "Unit is Issued Order with No Target" with condition "Issued Order is (HOLDPOSITION). These only work when you have a unit selected that can of course, Stop and HoldPosition. If there is a way to detect key selection, i'd love to know it too.

Is that true? If so I'd probably have to settle for a key to cycle items since there aren't many available.

This I can find out by digging, but since I'm at work I figured I'd ask if anybody is interested in looking it up. If I set an event based on a hotkey as above, are there triggers to move items from slot to slot? And I suppose I'd need at least one empty slot as a swap spot in case I was trying to move an item somewhere full?

Is there a better way to do this? I could do it with skills/abilities which are granted/removed after picking up/dropping specific items if I could hotkey the abilities, and then not use them, but alter the hero based on the abilities hotkey being pushed, if that's possible.
12-10-2002, 10:56 PM#2
nicoli_s
well you could create a spell wit hno values therefore it doesnt do anything, but it still registers the order and use those hotkeys, but the problem is that you cant give custom spells new orders or new hotkeys
12-11-2002, 02:51 PM#3
Guest
i see where you're going with it, thanks for the idea.