Please take a look at my CAPX file at the follow URL, I read that new people can't post links so I added "[Space]", that is not part of the link
http:// [Space] [Space] filedropper [Space] .com/ [Space] meleeswordsquestion
I have an animation that shows my player swinging a sword, during the animation I spawn a hitbox at the end of the sword using an ImagePoint. When the hitbox collides with the enemy it does damage. So I'm looking to figure out how when an animation goes off hitboxes spawn at the desired locations and in total they only hit the user once. Here are my issues.
1) Using "On Key Press" the hitbox only spawn at the first frame of the animation. That doesn't do much for me.
2) Using "On Key is Down" you can see the hitbox spawn at each point I wanted, that's great! The bad thing is 1 animation of the swing can hit the opponent 3 times which destroys him. Not to mention I don't want my users to have to hold down a button to do damage, they should be able to press a key once and see an ability happen that does damage.
3) When all hit boxes spawn it kills the enemy by hitting him 3 times, I'd like the full animation to only hit once.
I could just make one big hit box that spawns at the start of the animation but I feel like that wouldn't be the best way to do that. Having a hitbox at the end of the sword during its motions seems like the most authentic way to handle this, but I'm new to this and looking for help.
Any advice/thoughts are welcome. Thanks in advance.