Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
This question was closed Jan 28, 2014 at 05:43 PM by AlucardJay for the following reason:

Other : Asking for Scripts

avatar image
-1
Question by yvyv1000 · Jan 28, 2014 at 05:10 PM · animationsword

animated sword + script

this is my last hope. the problem is that i can't scripting and i have a sword with a animation but i need a script. the script that i need be is a script that make only the enemy get damage when i click the left mouse button BUT!! the sword must be playing the animation when i click on the left mouse button

please help me you are me last hope (ps)i'm a dutchman and 13 years old and i can't good english

Comment
Add comment · Show 2
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 Kiloblargh · Jan 28, 2014 at 05:28 PM 0
Share

If you can't (yet) write a script, you can't (yet) make a game.

Asking someone to do it for you is wasting your time and theirs, because five $$anonymous$$utes later you will come to the next thing you don't know how to do and need to ask again. You will never finish a game this way.

Read the manual, the scripting reference, and do some tutorials.

Helpful link:

avatar image AlucardJay · Jan 28, 2014 at 05:43 PM 0
Share

Brackeys tutorials : http://www.youtube.com/channel/UCYb$$anonymous$$_tjZ2OrIZFBvU6CC$$anonymous$$iA

1 Reply

  • Sort: 
avatar image
0

Answer by Infinite_Gamer · Jan 28, 2014 at 05:43 PM

I think the best thing to do would be to make a script that plays the animation then have the enemy have a tag called enemy and have the script see that it is the enemy then have it subtract health from his health points.

Comment
Add comment · Show 3 · Share
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 yvyv1000 · Jan 28, 2014 at 06:18 PM 0
Share

but i can't scripting

avatar image Kiloblargh · Jan 28, 2014 at 07:00 PM 0
Share

then you can't unity.

avatar image yvyv1000 · Feb 05, 2014 at 09:12 PM 0
Share

i have learn scipting and now i have made the script that you say thank you

Follow this Question

Answers Answers and Comments

20 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

Related Questions

Multiple Cars not working 1 Answer

there is no 'animation' attached to the gameobject but a script is trying to access it 2 Answers

Animation spins wildly after completed 0 Answers

hide object start script 4 Answers

Delete object when two collision or more 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