Problem with combo attack
Hi,im a beginner ,i wrote a simple script for left click to attack and put it in the inspector of the "character"and also connecting the FBX in the animator of the third person character(standard assets) and it works! Using @UsmanAbbasi 's script ,i put the script (not the StateMachineBehavior)together with the left click to attack's script. After that i attached the other 2 script(StateMachine) to each individual FBX in Animator ,first script on "Attack1",second script on "Punch 0".But i dont know about the third FBX so i just attached the second script since i need to change the name according to the animation. But nothing happened and there is no error , only my left click (one click)to attack works .Please tell me what i did wrong or what im missing. Thank you(link to the script below)
![alt text][2] [1]: http://answers.unity3d.com/questions/1192912/hot-to-make-combo-attack-1-button-do-3-things.html [2]: /storage/temp/90620-screenshot-21.png
Can you post screenshot of transitions in animator? What are the conditions of transitioning?
You don't have any transition to enter "Attack1" state so animator will never play the animation in that state. You need to make a transition to "Attack1" state from some state.
I tried connecting "Grounded" and others too to "Attack1"but still only "Attack1" can be used. sorry for the trouble.
What is the transition condition from "Attack1" to "Punch0". You posted screenshots of conditions of other transitions. Also post the screenshot for this transition. "Attack1 -> Punch 0" Also remove the state machine behaviors from states for now as you are just transitioning based on "exit time" so you don't need behaviors for now.
ok,ill remove all of it,as for the conditions i have no experience with it but i understand it's function and ill be doing more research on it.
Your answer
Follow this Question
Related Questions
how can i make simple combo attack,, 0 Answers
how to make combo attack, 1 button do 3 things 2 Answers
Problem with simple attack Attack ui Button 1 Answer
any triple mouse click c# script? 2 Answers
How to make more combo attack,, 1 Answer