0 Favourites

Random Pathfinding for multiple enemies?

  • Hey guys, I haven't really been able to find anything that fits this on the forums yet.

    Is there a way to have multiple enemies pathfind to random points within a layout, but do it independently of eachother, so they don't pathfind in a group, and just seem to wander around the layout?

    It would also need to be a method that could be easily stopped or disabled when the game is paused without using Timescale.

    I have a method that somewhat works in my project here:

    <img src="https://scontent-a.xx.fbcdn.net/hphotos-frc1/t31/1796740_580370928723004_155760587_o.png" border="0" />

    However, the enemies need to stop immediately when the game is paused. While I can create conditions that break the pathfinding, it isn't until they've arrived at their destination that they finally stop, which doesn't work.

    Any help cracking this would be greatly appreciated!

    Thanks everyone!

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)