How do I stop Enemies following waypoints and leave screen?

0 favourites
  • 2 posts
From the Asset Store
A complete set of graphical user interface (GUI) to build 2D video games. With wood, nature, & jungle theme
  • Hi guys I'm new to this forum and to Construct2 and I hope somebody can help me with my problem.

    I'm making Moon Patrol remake type game and I have a problem with Enemies behavior.

    I Spawn enemies every "X" Seconds (their follow waypoints) and after some time on the screen I want them to leave it by going up off the screen and get destroyed.

    I was thinking to add something like a "FinalWaypoint" of the screen, but how I make Enemies to go there?/ stoping them following "First" set of waypoints.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are multiple ways to set up something like this.

    My first idea would be to give the enemies timer-behaviour and start the timer on creation for a certain amount of seconds.

    On timer set direction towards the final waypoint.

    I have no clue to how you have set up the primary movement, so could be you would have to toggle a boolean on timer and add boolean is false condition to the primary movement events.

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