random sound work?

  • Thread starter Thread starter Rayzero-x
  • Start date Start date
R

Rayzero-x

Guest
can anyone tell me how to get this randsound to work, i am trying everything here is my command

(@cmd  randSound "chars/karin/scgd2.wav")

or does it need to be set for randSound2?
 
it works very well and im using it on my projects

here is my respawn randon sounds

Code:
	@cmd	randSound2 "wolverine90/ISEEYOU2_B.wav" "wolverine90/ISEEYOU5.wav" "wolverine90/ISEEYOU7.wav" "wolverine90/RESPAFFIRM2_B.wav" "wolverine90/RESPAFFIRM3_B.wav" "wolverine90/letsgobubmvc3.wav"

but to make engine understand @cmd  you should have in in your script folder the code of the randsound2 script

and in the header of your character you should add it you should add it to make the engine know where to search for this code
Code:
animationscript data/scripts/lib001.c
  put this on player header

i put all my scripts inside the lib001.c

so you must get the randsound2 script code and paste inside the lib001.c or the file you use
 
nah not the openbor version, I mean where did you copy the script from? you got it from another mod?

try the one in that thread I posted, version 2 is what you want.

make sure you have 3 sounds set to play, if you want no sound for one make a silent wav file to play.
Code:
@cmd	randSound "chars/karin/1.wav" "chars/karin/2.wav" "chars/karin/1.wav"
 
Back
Top Bottom