I've made it so after a certain amount of clicks I'll use a health potion. But I can't find the key code for the F1 key (F1 - F5 are in-game hotkeys for anything you choose).
I've made it so after a certain amount of clicks I'll use a health potion. But I can't find the key code for the F1 key (F1 - F5 are in-game hotkeys for anything you choose).
This doesn't do anything o.O
Keydown(VK_F1);
![]()
~Hermen
Thank you ^^
For future reference:
http://delphi.about.com/od/objectpascalide/l/blvkc.htm
Complete list of Virtual Keys, though some are not compatible with SCAR.
Unfortunately, no active scripts atm.
Alternatively, typing VK_ then pressing ctrl+space should bring up a list of possible things you want to use (procedure, functions, constants, variables, types etc) but should only list a load of VK_ commands which are just constants for various keys.
Also, you will have to use KeyUp(VK_F1) as well as it will otherwise treat it like it's constantly down. Best to put a small wait (50-100 should do it) to make sure it stays down long enough for the game to recognise that it was down.
By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.
There are currently 1 users browsing this thread. (0 members and 1 guests)