Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-28-2005, 06:47 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
Quote:
Originally Posted by KuJi
How would you change what sprites a server uses?

it's impossible to do so but Stefan said he might add this command in the future
__________________

Reply With Quote
  #2  
Old 05-29-2005, 02:56 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Alright, another question:

I've tried almost everything with keydown2 and strequals(#p(0),#))

I can't get CTRL to work.

- keydown2 is fixed, when you dont add 256,512 or 1024
(shift, control, alt) to the key number then it doesn't
return 'true' when those special keys are not pressed;
a few keycodes that can be used in keydown2 to check for
normally unaccessible keys (have not test all of them though):
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


Tried all Controls
Reply With Quote
  #3  
Old 05-29-2005, 03:18 AM
PrinceDark PrinceDark is offline
Criminal X
PrinceDark's Avatar
Join Date: Feb 2003
Location: Miami, Florida
Posts: 662
PrinceDark will become famous soon enough
I guess it depends on how you use it. I tried it with keypressed also and it didn't work. I tried this online and my results was fine.
NPC Code:

//#CLIENTSIDE
if ( playerenters || timeout ) {
if ( keydown2(17,true) )
setplayerprop #c,true;
timeout = 0.05;
}

__________________
- Criminal X: certified nut case
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:13 PM.


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