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 /
avatar image
0
Question by MrrMaddMann · Oct 29, 2012 at 09:26 PM · npc

How do you make a NPC which can be killed / kill?

I'm 14, new to Unity, and need help making an NPC which is capable of killing / being killed. In my current project, your challenge is to kill the enemy NPC before he kills you. How do you give the enemy NPC health? The playable character health? And weapons which can give damage to the object? I would be very grateful of any help given.

Comment
Add comment · Show 1
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 Phoskryfes · Oct 30, 2012 at 05:17 AM 0
Share

There's a lot of 14 years old her. So am I!

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by sparkzbarca · Oct 29, 2012 at 10:02 PM

as much as it sucks you'd need to learn the basics of coding first.

You should check out your school and see if they have any programming classes or a computer science club. You could learn the bare basics of coding in like a week but it can be complex to understand things at first and having someone there to explain things in different ways when you dont understand it is nearly mandatory at first.

Once you have the basics of coding and know what classes are and object oriented programming basics we'll be able to help. As it is right now we could only write the code for you.

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 MrrMaddMann · Oct 29, 2012 at 10:14 PM 0
Share

thanks for infor$$anonymous$$g me. I know that unfortunately, my school doesn't do anything like that, so do you know where I could learn?

avatar image sparkzbarca · Oct 29, 2012 at 10:53 PM 0
Share

you could try

http://www.program$$anonymous$$gvideotutorials.com/csharp/csharp-introduction

or this 40 part series. :P

http://showmedo.com/videotutorials/series?name=7Ja4c8YuL

It's not that easy to learn, its certainly possible for you to do so but you'd have to spend awhile learning it, plenty of 14 year olds have learned on there own however.

Best of luck!! (it wont be done in a day, you could learn a decent start in a hard week)

avatar image MrrMaddMann · Oct 30, 2012 at 08:07 AM 0
Share

Thanks for the help

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

11 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

Related Questions

Simple airplane AI 2 Answers

How to use A* pathfinding for a large map? 2 Answers

Problem with animation script for npc 3 Answers

Scripting an animation for an NPC? 1 Answer

NPC (gameObject) inactive when out of field of view/player not active 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