Flowering Knight Posted February 21, 2014 Posted February 21, 2014 I'm not exactly sure how to add sounds when a character gets hit. Do I just add the sounds into state 5000? And if I do, how do I separate them so only certain sounds will play during certain attacks? (Example: Only during heavy attacks) http://i.imgur.com/W00cc4V.gif
0 Flowering Knight Posted February 21, 2014 Author Posted February 21, 2014 Nevermind, I think I solved it with this code: [state 5000, PlaySnd] type = PlaySnd triggerall = anim = 5000 || anim = 5010 || anim = 5020 trigger1 = !Time value = S5000, random%7 channel = 9001 [state 5000, PlaySnd] type = PlaySnd triggerall = anim = 5001 || anim = 5011 || anim = 5021 trigger1 = !Time value = S5001, random%5 channel = 9001 [state 5000, PlaySnd] type = PlaySnd triggerall = anim = 5002 || anim = 5012 || anim = 5022 trigger1 = !Time value = S5002, random%5 channel = 9002 [state 0, StopSnd] type = StopSnd trigger1 =! alive channel = 9001 [state 0, StopSnd] type = StopSnd trigger1 =! alive channel = 9002 http://i.imgur.com/W00cc4V.gif
Question
Flowering Knight
I'm not exactly sure how to add sounds when a character gets hit. Do I just add the sounds into state 5000? And if I do, how do I separate them so only certain sounds will play during certain attacks? (Example: Only during heavy attacks)
http://i.imgur.com/W00cc4V.gif
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now