Im following this tutorial on youtube: http://lyasstudio.wordpress.com/2011/03/02/unity3d-health-system/ very helpful tutorial. Unfortunnately the video quality is bad. The maker has put 2 links on his website to the scripts. But the link to second script Damage.js is broken. Anyone followed this tutorial and still got the script? I contacted the maker but he didn't respond. Very frustrating if you can not finish a tutorial.
Hope you guys can help!
This really isn't Unity development specific.
I don't know that I would vote the question down, but Danny is absolutely right - the folks here and the folks at Unity can't help with a video someone else posted on YouTube.
The probable reason you got voted down is that you didn't read the "about" page for this site. UnityAnswers is for technical questions about the Unity editor and player.
"Unity Answers is a site provided by Unity for use by the community. It is a place to ask specific questions that have specific answers. The forum is a better place to post discussions and non-technical questions."
If you want I have a great health script that has a GUI on it (10 textures)?
Answer by pudd1nG
Apr 27, 2012 at 01:50 AM
There are hundreds of damage / health script examples around. I will link the most obvious http://unity3d.com/support/resources/tutorials/fpstutorial
I'm sure you can find lots more on google.
Answer by maartenn-87
Apr 27, 2012 at 10:13 AM
FelipeDaSilva yes I would realy like to see your script. Thanks pudd1ng for pointing me to this link.
Answer by BigBlob
Apr 28, 2012 at 05:27 PM
---------- First Download Package
Place the health script on the player
Select the GUI from the package
Then rename it to g_Health
Place some where you would like (set the offsets to 0)
Then place the Enemy AI script on any object with rigidbody and a collider
Set the Enemy's target
Then go back to your player > script called Player and set the right values (The game over one is last)
If you need any more help - respond
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
7 People are following this question.
a Script for Enemy HP
Damage not triggering in build
If health = 0, show a GUI.button C#
[C#]Health Regeneration and Delay
Link 2 variables from 2 different scripts to 3rd script