Thread: Flute
View Single Post
  #7  
Old 10-07-2001, 10:07 AM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
[ Delph Inc. ]

It's one of the simplest scripts I've come across yet.
All you have to do is make a gani...or not even that of the player holding an intrument then just add in the keydown commands:

if (weaponfired) {
setani intrument_play,;
disabledefmovement;
}
if (strequals(#m,intrument_play)) {
if (keydown(6)) enabledefmovement;
if (keydown(5)) {
if (keydown(0)) play sound1.wav;
elseif (keydown(1)) player sound2.wav;
elseif (keydown(2)) player sound3.wav;
elseif (keydown(3)) player sound4.wav;
} else {
if (keydown(0)) play sound5.wav;
elseif (keydown(1)) player sound6.wav;
elseif (keydown(2)) player sound7.wav;
elseif (keydown(3)) player sound8.wav;
}
}

I only did that because you have dolphonia in your account name (My old server )
__________________
Xerphier Dintch
Featuring

Last edited by Knightoffrost; 10-07-2001 at 10:10 AM..
Reply With Quote