Firstly, I am pretty new to Construct 3 and gamedev in general, so sorry if this is a super easy topic. The issue I am having is that I've got a little spiny turtle guy as an enemy sprite and I want to make it so that when the player is within the enemy's LOS, the enemy play the animation that ejects the spikes. After it plays that animation, I want it to smoothly transition to the idle animation that continuously loops as long as the player is in the LOS of the enemy. Then when the player exits the line of sight, it retracts its spikes and plays the non-spiky idle animation.
So far, I've tried setting it up so that when the player is within 100px of the enemy, it plays the spike ejection animation, waits 0.5 seconds and then plays the idle animation. Unfortunately this is not working, so any sort of help would be much appreciated.