Hello,
I'm very new to Stencyl.
I am trying to set up 2 enemy actors (Knights) that chase the player using 'Follow Target' behaviour. When they collide, I want another actor, Sword, to be created and to play the animation of it swinging.
To achieve this, the best I have managed is when the enemy actor is created, to also create the Sword actor under an idle animation placed upon the x,y of the Enemy. This sword then follows the enemy actor around screen.
The problem I am having is the actions of the created Sword actors all activate in unison, if 1 swings upon collision with the player they all do. Also, because they are linked to the Enemy Actors created and following 'Last Created Actor' only 1 Sword tracks their respective Enemy Actor, the other stays still.
Ideally, I want to create a scene with multiple Knights that chase the player around screen, upon collision they swing a sword (Not to be shown til this point), when there is no collision, there is no Sword. I'm trying to do it this way to learn so I can have various Actors / Player picking up new weapons along the way without redoing lots of Artwork i.e Zelda Dilemma.
Thanks