Page 1 of 2

How do I repeat an attack animation?

PostPosted: Sat Feb 14, 2015 11:50 pm
by Scottydoes3d
I have an attack animation that I would like my enemy to repeat as long as it is in attack range. I have the enemy attacking but after one attack it stops. And I also have the system setting my attack and pursue boolean to false, but when the enemy attacks it stop setting the booleans to false.

The other mechanics of the game aren't important for this question, so I want go through all the controls but the directional buttons move the characters. I'm guessing the problems lies in the AI group of he event sheet but I could be completely wrong about that.

Any suggestions would be helpful. Thanks in advice.

Re: How do I repeat an attack animation?

PostPosted: Sun Feb 15, 2015 3:57 am
by A0Nasser
Why not using Sine behavior to move the enemy right and left.
And i see only 3 frames for the enemy, where is the attack animation that you want to play.
Can you upload image for your problem.

Re: How do I repeat an attack animation?

PostPosted: Sun Feb 15, 2015 1:43 pm
by Scottydoes3d
Sorry about that, seems I uploaded the wrong file. Try the one in the link, it it will have the animations.
Do you think the sine behavior will simplify what I have now? Seems like the sine behavior would conflict with the jump-thru event I have for the enemies.

Thanks for your help.

https://drive.google.com/file/d/0B3ivny ... sp=sharing

Re: How do I repeat an attack animation?

PostPosted: Sun Feb 15, 2015 2:04 pm
by Scottydoes3d
Scottydoes3d wrote:Sorry about that, seems I uploaded the wrong file. Try the one in the link, it it will have the animations.
Do you think the sine behavior will simplify what I have now? Seems like the sine behavior would conflict with the jump-thru event I have for the enemies.

Thanks for your help.

https://drive.google.com/file/d/0B3ivny ... sp=sharing


I don't know why the link is not working so I guess we are at a stand still. I'm sure you won't be able to help much with out actually seeing the game.

Re: How do I repeat an attack animation?

PostPosted: Sun Feb 15, 2015 8:31 pm
by Lordshiva1948
I get this too

Sorry, the file you have requested does not exist.

Make sure that you have the correct URL and that the owner of the file hasn't deleted it.

Re: How do I repeat an attack animation?

PostPosted: Mon Feb 16, 2015 12:31 am
by Unnatural20
The .capx you want to use can't be uploaded? Too large?

Re: How do I repeat an attack animation?

PostPosted: Tue Feb 24, 2015 7:30 pm
by Scottydoes3d
Yea it is too large. I loaded it to drive and dropbox but when I paste the link and submit my post the link it changes. I'm completely lost on how to post the link. Is there something that I am missing?

Re: How do I repeat an attack animation?

PostPosted: Wed Feb 25, 2015 10:09 am
by Unnatural20
At low levels of reputation on these forums, you are not allowed to post links in any form.
At slightly higher levels, your links are converted to plaintext, instead of being links. It's an anti-spam measure.

Re: How do I repeat an attack animation?

PostPosted: Wed Feb 25, 2015 1:43 pm
by Scottydoes3d
Yea I read that, but at 250rep I should be able to paste a plain text link. Every time i try it shortens the url. I'll place the link to the file from my google drive below so you can see what happens.

https://drive.google.com/open?id=0B3ivn ... authuser=0

Re: How do I repeat an attack animation?

PostPosted: Sat Feb 28, 2015 3:17 pm
by Unnatural20
I see that, yes. Why not post your link without the http:// part? that will keep it from being abbreviated.