Blockland Forums > Modification Help

Equip sound not working

Pages: (1/1)

SuperFlaminninja:

i made a script with equip sound base off of the l4d ak47 yet the sound dosnt play when i open weapon please help code and sound file name below
V


--- Code: ---datablock AudioProfile(Famas_EquipSound)
{
   filename    = "./Famas Equip.wav";
   description = AudioClose3d;
   preload = true;
};

--- End code ---
and

--- Code: ---   // Initial start up state
stateName[0]                     = "Activate";
stateTimeoutValue[0]             = 0.15;
stateTransitionOnTimeout[0]       = "Ready";
stateSound[0] = FamasEquipSound;
--- End code ---

there is no error in the console nothings in red its just not playing the noise
Sound file name
V

SuperFlaminninja:

Please D:

FrogFreak:

It appears to be that you forgot to add an underscore in your "Statesound".

Pages: (1/1)

Go to full version