• 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
-1
Question by 23cool1234 · May 11, 2011 at 08:14 PM · guiaienemyzombiehealth

How do I make enemies and health?

I'm making a zombie survival game, and I can't figure out how to make enemies. I want to have a spawner that spawns a zombie every 15 seconds, and I want the zombies to go towards the player until it either dies or kills the player. Also I need help with health. Please make it a javascript or C#.

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 FreeTimeDev · May 12, 2011 at 09:22 AM 0
Share

As flaviusxvii has suggested, please do not use Unity Answers as a place to have people write your game for you.

Based on what you know about Unity now the FPS tutorial is a mighty fine place to start. Down voted this question.

avatar image ChewbaccaStudios · Jun 23, 2013 at 01:45 AM 0
Share

ever heard of a Prefab????

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by flaviusxvii · May 11, 2011 at 08:17 PM

No.

Spend 5 good minutes searching Google and you should find everything you need. Some keywords to keep in mind ("unity", "spawn", "health").

I find your lack of adequate searching disturbing.

Comment
Add comment · Show 6 · 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 23cool1234 · May 11, 2011 at 08:19 PM 0
Share

Couldn't you have commented? I don't consider that an answer.... Also I couldn't find any that do what I want. I have seen turret tutorials and that is the best I could find. I'm not making a turret am I?

avatar image flaviusxvii · May 11, 2011 at 09:22 PM 0
Share

You're not going to find any one tutorial or guide or piece of code that does what you want. And it is abusive to ask the good people of unityAnswers to write this code for you. GOOGLE around, gather pieces and put them together yourself. A fortunate side effect of this process is that you will LEARN.

avatar image 23cool1234 · May 11, 2011 at 09:45 PM 0
Share

I don't need it to be exact, I just need to figure out how to make it move towards the player, and damage when touching the player. If I were to do that from tutrials I've seen, it wouldn't move, and it would kill itself.

avatar image flaviusxvii · May 11, 2011 at 09:47 PM 2
Share

http://forum.unity3d.com/threads/34295-Getting-an-enemy-to-move-towards-you Are you aware of Google? google.com It's a pretty popular search engine. http://lmgtfy.com/?q=unity+make+enemy+move+towards+player

avatar image ChewbaccaStudios · Jun 22, 2013 at 11:58 PM 1
Share

or you could use Unity Wiki at http://wiki.unity3d.com/index.php/$$anonymous$$ain_Page

Show more comments
avatar image
0

Answer by samideano · Jun 01, 2011 at 06:04 AM

@Flavi: I am forever in your debt for that link (lmgtfy.com)! I love it!

Comment
Add comment · Show 1 · 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 ChewbaccaStudios · Jun 22, 2013 at 11:59 PM 0
Share

comment if your not going to answer the question @samideano

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Deal damage on collision 2 Answers

Player Health 3 Answers

Question about AI in MMORPG 1 Answer

Taking a hit 3 Answers

Enemy AI Script 0 Answers


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