Thread: Keydown?
View Single Post
  #7  
Old 07-30-2004, 09:21 AM
Raelyn Raelyn is offline
the Professional.
Raelyn's Avatar
Join Date: Sep 2003
Location: Zormite
Posts: 964
Raelyn will become famous soon enough
Ok, I've gotten it working, but I have a question while not keydown related so much as it's related to the same script.

I'm trying to remove all default graal functions, such as, the default GUI, player, animations, sounds etc and I have managed to get rid of everything thus far except sound using the following.

NPC Code:

if (created){
disableselectweapons;
showstats 1;
showstats 2;
showstats 4;
showstats 8;
showstats 16;
showstats 32;
showstats 64;
showstats 128;
showstats 256;
showstats 512;
}



Is this the most effecient way to do this, I'm just worried that however they are not showing, that they are still being calculated unnessesarily? Also, I am trying to get rid of the sounds of walking/swords etc. any suggestion on how to achieve this? I tried:

NPC Code:

if (keypressed) {
if (keydown(0)) {
stopsound steps.wav;
}
}



However it doesn't do the trick...

Thank you again.
__________________
*Don't let the door hit you on the way out.*
Reply With Quote