| 08-22-2005, 09:33 AM | #1 |
I dont know much about this function, I only saw it recently as I was looking through the list of Actions. I was curious, can you Force UI the Arrow keys? |
| 08-22-2005, 10:58 AM | #2 |
As far as i know you cant, only characters. |
| 08-22-2005, 05:05 PM | #3 |
Hmm. I read on a previous post about using ASCII codes instead of Characters..Would using the ASCII code for the Arrow keys work somehow perhaps? (I'm just brainstorming here) |
| 08-25-2005, 02:48 PM | #4 |
Well, maybe, but I don't know the ascii code for the arrow keys and it would not be as easy as opening Character map to find out. I heard that there are 256 values, and only 128 are charachters. I suppose you could just try sticking in every value from 128 to 256 and see if anything happens... That would be damn cool if you could force them to press Alt F4 lol. |
| 08-25-2005, 04:35 PM | #5 |
The ascii codes are somthing like 46-49 and the answer is no, you cannot force the arrow keys. The same of course goes for the Alt hotkeys. |
| 08-25-2005, 05:09 PM | #6 |
46-49? Are you sure? I'm pretty sure those are just letters. Let me go check. yeah, those are letters F G H I, definatly not arrow keys. Every single font agrees with me. If you can force ascii, codes, then you can force them to do a lot of different symbols. I don't think arrow keys are possible, but they deffinatly are not 46-49 But why would you need to force arrow keys? You can just force start the scripts with an added condition statement: Blah blah OR: (ForceRight=yes) That way you can still force them to do your script, but they wouldn't need to have been holding the key |
| 08-26-2005, 01:44 PM | #7 |
Its just brainstorming, as I said. |
| 08-26-2005, 11:17 PM | #8 |
The sad thing is that forcing the key doesnt even print text if you have the message box open -.- |
| 08-27-2005, 09:35 AM | #9 |
Yeah I noticed, it only seems to effect hotkeys. |
| 08-29-2005, 12:41 AM | #10 |
That's kinda dumb... Not very useful then is it... |
| 08-29-2005, 01:23 AM | #11 |
Not useful at all, in my opinion. Unless of course you have 5 abilities with the same hotkey and the unit always has one of the 5 abilities You can make it whichever ability it is that unit has. However that requires you are currently selecting the unit. And a simple If/Then/Else could do the same thing. |
| 08-29-2005, 05:59 AM | #12 |
If you go here: http://www.cdrummond.qc.ca/cegep/inf...iles/ascii.htm it has a good list of the ascii table, notice the first 32 characters arn't really characters at all but reserved codes to do something. Those first 32 chars change from program to program for example 7 in war3 is a filled in circle but in the offical code it's a sound. War3 has char values for only about half of the codes, (you can access them in a chat by holding alt and entering the numerical code on the num pad) The arrow keys are often represented by somthing like ^K (with a different letter for each direction) but it's a single character not a ^ then a K, somtimes you can fake it by using ctrl-K but not often. As far as using the forceUI key as was said it only seems to do abilities hotkeys anyway so I'm pretty sure you can't use that function the way your trying to Hope this helps |
