Quote:
|
Originally Posted by Raelyn
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;
}
|
You can combine the showstats:
NPC Code:
showstats 1+2+4+8+16+32+64+128+256+512;
Quote:
|
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?
|
I'd hope not.
Quote:
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...
|
This is where you make your own ganis and use replaceani defaultaniname,newaniname;