I'm trying to modify mr mo's sbabs to play a sound effect whenever you attack get hit or die and the sound effect varies on what gender and race you are. I got the syntax correct (i think) but it won't play the sound effect. it doesn't get any errors though.
this is what I wrote:
I tried without the quotes too and with .wav in the name. I think this issue is more of the variables.
becuase I don't know how to check the variables you use with events. but I thought it would be with the variable name with $ in front of it. is the correct? or did I do something wrong? any help is appreciated thanks.
this is what I wrote:
Code:
if $gender == 1 then
if $race == 1 then
Audio.se_play("HMatk1", 100, 100)
else
end
elsif $gender == 2
if $race == 1 then
Audio.se_play("HFatk1", 100, 100)
else
end
end
I tried without the quotes too and with .wav in the name. I think this issue is more of the variables.
becuase I don't know how to check the variables you use with events. but I thought it would be with the variable name with $ in front of it. is the correct? or did I do something wrong? any help is appreciated thanks.