- Home /
Other : Asking for Scripts
animated sword + script
this is my last hope. the problem is that i can't scripting and i have a sword with a animation but i need a script. the script that i need be is a script that make only the enemy get damage when i click the left mouse button BUT!! the sword must be playing the animation when i click on the left mouse button
please help me you are me last hope (ps)i'm a dutchman and 13 years old and i can't good english
If you can't (yet) write a script, you can't (yet) make a game.
Asking someone to do it for you is wasting your time and theirs, because five $$anonymous$$utes later you will come to the next thing you don't know how to do and need to ask again. You will never finish a game this way.
Read the manual, the scripting reference, and do some tutorials.
Answer by Infinite_Gamer · Jan 28, 2014 at 05:43 PM
I think the best thing to do would be to make a script that plays the animation then have the enemy have a tag called enemy and have the script see that it is the enemy then have it subtract health from his health points.
i have learn scipting and now i have made the script that you say thank you