Thread: Flute
View Single Post
  #11  
Old 10-08-2001, 01:17 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~AlphaFlame~

Here's a short instrument script...

if (playertouchsme){
toweapons Flute;
}
if (weaponfired){
this.mode=1-this.mode;
timeout=.05;
}
if (timeout && this.mode=1){
freezeplayer .05;
for (i=0;i<4;i++){
if (keydown(i) && !keydown(5)){play flute#v(i+1).wav;}
if (keydown(i) && keydown(5)){play flute#v(i+5).wav;}
}
if (keydown(6))this.mode=1-this.mode;
timeout=.05;
}

Just make sure the flute wavs are numbered 1-8... like flute1, flute2, etc.
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote