Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-03-2004, 05:15 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
keydown2

Does any one know the keydown2 for CONTROL and ALT? I can't get it to work. K thanks ahead of time =)
__________________
Reply With Quote
  #2  
Old 02-03-2004, 05:28 AM
DIABLO2099 DIABLO2099 is offline
Registered User
Join Date: Sep 2002
Location: New York
Posts: 290
DIABLO2099 is on a distinguished road
NPC Code:
if (keypressed) {
setplayerprop #c,#p(0) : #p(1);
}



Should work, if not let me know.
__________________
-Former UnholyNation Server Manager.

Call me Xecutor.
Reply With Quote
  #3  
Old 02-03-2004, 05:39 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Re: keydown2

Quote:
Originally posted by ZeLpH_MyStiK
Does any one know the keydown2 for CONTROL and ALT? I can't get it to work. K thanks ahead of time =)
I'll directly answer your question.

17 == Control
18 == Alt
__________________
Kat
Reply With Quote
  #4  
Old 02-03-2004, 04:46 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
8 - back
9 - tab
13 - return
16 - shift
17 - control
18 - alt
33 - page up
34 - page down
35 - end
36 - home
42 - print key
45 - insert
46 - delete
91 - left windows key
92 - right windows key
93 - mouse popup key
112-123 - F1-F12
144 - numlock
160 - left shift
161 - right shift
162 - left control
163 - right control
164 - left alt/menu
165 - right alt/menu
Read newfeatures is good.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #5  
Old 02-03-2004, 11:19 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally posted by osrs


Read newfeatures is good.
I already know keycode for ctrl and alt are 18 and 17 respectively, but it doesnt seem to work.

[EDIT] Nvm i got it to work, it was the bug where the npcserver stops recognizing your player, i reconnected and it worked -.- [/EDIT]
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:09 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.