Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by Daniel2102 · Mar 25, 2017 at 01:05 PM · buttonattackcombo

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

screenshot-21.png (105.8 kB)
Comment
Add comment · Show 6
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image UsmanAbbasi · Mar 26, 2017 at 07:14 AM 0
Share

Can you post screenshot of transitions in animator? What are the conditions of transitioning?

avatar image Daniel2102 UsmanAbbasi · Mar 26, 2017 at 09:02 AM 0
Share

Im sorry but i have no condition alt text

screenshot-24.png (156.7 kB)
untitled-1.jpg (217.2 kB)
avatar image UsmanAbbasi · Mar 26, 2017 at 09:45 AM 0
Share

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.

avatar image Daniel2102 UsmanAbbasi · Mar 26, 2017 at 12:37 PM 0
Share

I tried connecting "Grounded" and others too to "Attack1"but still only "Attack1" can be used. sorry for the trouble.

alt text

screenshot-26.png (159.4 kB)
avatar image UsmanAbbasi · Mar 26, 2017 at 03:06 PM 0
Share

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.

avatar image Daniel2102 UsmanAbbasi · Mar 27, 2017 at 03:30 AM 0
Share

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. alt text

screenshot-28.png (345.4 kB)

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

106 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges