how do I make a enemy fire when another enemy animation ends?

0 favourites
  • 3 posts
From the Asset Store
Give Sound to the enemies that are part of your game! :)
  • hi everyone I making a game where you shoot space ships nothing to complex but I want to make it when an enemy space ship is going to shoot it spawns another object an animated countdown timer and when the animation ends the ship will fire like in virtua cop.

    seems simple enough right? so I have the enemy fighter spawn the countdown timer object

    and then set an instance variable in the countdown timer to the enemy ship UID

    I then asked that when the animation on the countdown timer ends if the enemy ship has the same UID as the countdown UID it will fire but it does not seem to work

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Change the second condition on your last screenshot. Currently it picks Obj_Energy_Countdown_Timer instance. You need to pick the ENM_Fighter instance. So change it to this:

    ENM_Fighter pick by unique ID = Obj_Energy_Countdown_Timer.Enemy_UID


    Another option is to add both objects to a container. You will not need the variable, just keep the countdown object invisible when the ship is not firing.


Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)