- Home /
enemy script and destroy
Hello
For my game i have a troll that is attacking me, i have already made the animation for the the swinging troll axe but how do i make the animation repeat? How do i make the troll attack me and when the axe hits me 3 times i die and start over and i have to attack him again? and what is the destroy script so that by attacking my troll 7 times with the destroy script it dies, and when i press the destroy key an animation plays and targets the troll. i know i am asking for a lot but please help i would really appreciate it i do not know how to script and i am on a time limit for my I.T project so i can not learn scripting yet
Thank you Aman
Your answer
![](https://koobas.hobune.stream/wayback/20220613085608im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using animations in prefabs 1 Answer
How do I animate a 2D sprite? 1 Answer
Expecting EOF found else?? 1 Answer
Attack While Running 1 Answer
walk animation script 1 Answer