Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic help (not sure where to post this)
#1
I'm trying to figure out how to make something happen, when a player presses alt+o.

Anyone have any idea?
Reply
#2
http://www.thescripts.com/forum/thread14871.html
Reply
#3
as far as i know... 'alt' can't be used in vb programs. i was going to use it instead of the delete key to cast spells on other players.
Reply
#4
here is an example

private sub Advo()
Dim ascii as long
if key ascii = Keyhere then
End if
End sub

that works fine for me dunno if it may for you ^^ (Thats v.basic)

Also look at the talking subs and see how its done externally
Reply
#5
I know how to do that, I just don't know what the code is for the alt keys. Lol.
Reply
#6
Works with keydown/up and getasynckeystate. Keycode = 18.
Reply
#7
The keycode for alt is 18?

(Even so, I can't test right now, because of my other problem. Sad )
Reply
#8
Yes, the keycode for alt is 18.
Reply
#9
dont know where you heard that obsidian...
Reply
#10
Eh, I decided to just put the buttons on the screen, instead. So, don't worry about this.
Reply
#11
could use the SetHokey API
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)