Whatever you named the animations as, you put the name in the states in the script ion "stateSequence", should be something like this, you may have to add your own state:
Okay, but how can i add reloading sound?
datablock AudioProfile(SuperAwesomeSound){ filename = "./MySound.wav"; description = AudioClosest3d; preload = true;};
stateSound[NUMBER] = SuperAwesomeSound;
First create your sound datablock:Code: [Select]datablock AudioProfile(SuperAwesomeSound){ filename = "./MySound.wav"; description = AudioClosest3d; preload = true;};And then in put this in the proper place in the states:Code: [Select]stateSound[NUMBER] = SuperAwesomeSound;