Hi there. This is my first time posting, but I've been learning to use Construct and lurking on these forums for a while now.
Anyway, I hope this hasn't been covered already, since I looked over this forum and I also haven't seen it in any games I've played made with Construct, but I wanted to have enemies perform an attack animation when they get close to the character. For the current enemy, that involves stopping his walk cycle, swinging his sword and then resuming his walk cycle.
The main problem I am having currently is that the code doesn't differentiate between the various enemies for purposes of attacking, so if the character moves near one of them, they all swing their sword. Is there a simple fix for this?
Again, sorry if this has already been addressed in another thread. My cap can be found here.
Also, sorry for the lack of background, white boxes around characters, etc... I am fixing that all up as I come to it.