can anyone upload an ai script or zombie script or something that i can use so i when i shoot a zombie it dies and dissapears. thank you very much for ur help x
1 Answer
1Lol…here you go. Of course, this doesn’t actually do anything.
public float health = 100;
public DoDamage(float amount)
{
health -= amount;
if (health <= 0)
Die();
}
void Die()
{
// do dying stuff
}
Why should we, or anyone do anything for you, when your not willing to even read the FAQ or watch the tutorial video. This is not the place to ask for stuff, this is the place to ask questions about specific problems. If you want people to do stuff for you, go to the forums, maybe someone has the heart to do it for free.
– Benproductions1Also which Mod passed this through the queue?
– Benproductions1cuz i dont know how i jus want a little help. sorry ADOLF
– HardKore_GamingNo one will help you unless you first try! Look up how to program using Unity, then try and make what you want to make, THEN come here and ask why your code doesn't work. There are more than enough resources on the internet to tech you how to do what you want to do, so don't come here asking people to do tuff for you and expect them to respond
– Benproductions1tried using alternate ai scripts and health scripts e.g. heath = 0 die () but still nothing. can u help plz
– HardKore_Gaming