Mirage Source

Free ORPG making software.
It is currently Tue Apr 16, 2024 3:07 pm

All times are UTC




Post new topic Reply to topic  [ 326 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14  Next
Author Message
PostPosted: Sat Jun 03, 2006 4:04 am 
I'm trying to figure out how to make something happen, when a player presses alt+o.

Anyone have any idea?


Top
  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 4:28 am 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
http://www.thescripts.com/forum/thread14871.html


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 5:11 am 
Offline
Pro

Joined: Mon May 29, 2006 2:15 am
Posts: 368
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.

_________________
Image
Image
The quality of a man is not measured by how well he treats the knowledgeable and competent, but rather how he treats those less fortunate than himself.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 11:12 am 
Offline
Knowledgeable
User avatar

Joined: Mon May 29, 2006 11:38 am
Posts: 293
Location: Cambridge, UK
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

_________________
Image
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 4:11 pm 
I know how to do that, I just don't know what the code is for the alt keys. Lol.


Top
  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 4:15 pm 
Offline
Regular
User avatar

Joined: Mon May 29, 2006 5:33 pm
Posts: 30
Works with keydown/up and getasynckeystate. Keycode = 18.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 4:22 pm 
The keycode for alt is 18?

(Even so, I can't test right now, because of my other problem. :( )


Top
  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 4:26 pm 
Offline
Regular
User avatar

Joined: Mon May 29, 2006 5:33 pm
Posts: 30
Yes, the keycode for alt is 18.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 6:48 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
dont know where you heard that obsidian...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 7:40 pm 
Eh, I decided to just put the buttons on the screen, instead. So, don't worry about this.


Top
  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 8:01 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
could use the SetHokey API


Top
 Profile  
 
PostPosted: Tue Dec 14, 2021 3:41 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 475344
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтsemiasphalticfluxсайтсайтсайт
сайтсайтсайтсайтсайтсайтhttp://taskreasoning.ruсайтсайтсайтинфосайтсайтtuchkasсайтсайт


Top
 Profile  
 
PostPosted: Thu Feb 10, 2022 8:52 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 475344
stor240BettCHAPFranXVIIIntrBellGeorMostFranDereDancBistBurdNarcFortCeleGottNickZoneMstiBonu
MontAmarLillJessPierVianBertRollAudiBarlDonnRaymChilJohnBurdHarrJochFlawRandTescMagiPrelArth
GillAntoDolbCaroPolaManoEmmaGarmCircELEGEnjoDolbSideBrauPeteNikiDaviRobeRakeAlexHakaXVIIHenn
DougMiniAdioEpsoFallSelaKoffIyenJaneBlacXVIIXVIIKingZoneZoneMariWickGrypWellTropTraiZoneTime
ZoneZoneRebeZoneZoneZonematediamZoneDeniZoneZoneZoneZoneZoneWindZoneZoneZoneZoneZoneZoneZone
ZoneWedgNouvCMOSXVIISmarSONAWadeWindRickWindMicrcellDirkMWQiGiglPoweSeahNISSARAGPupiPlanclas
ToweVentStroBleeToyoBussMagnqSCSWindwwwrLEGOValeChouSpirIamsPublDownThisXVIIReveyusuIntePuti
XVIITrivHenrXVIITaleGinaSideCharLighThomOZONVytaSergBeauHaraBillJeweAntoSamuStevOtakJustSpec
MattNataGardWindClivReapMusiJoseConsbonuwwwrRudyDisnJeffEnjoHandHanaSpoeJohnOrtrwwwnCMOSCMOS
CMOSRockTracKirsThouJewePabaTuttHarvJuleWereStevKanwtuchkasRakeFool


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 326 posts ]  Go to page Previous  1 ... 10, 11, 12, 13, 14  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group