How do

0 favourites
  • 2 posts
  • Hello folks!

    Before we go forward let me say that yes, I did in fact researched a lot on how to solve this problem BUT couldn't find a proper solution :( so I'm here begging for help!

    My project is an isometric game where I want to fight enemies (SNES Zelda) but don't want them overlapping each other! While researching I found this old capx from a Construct 2 topic, I forgot the author's name but it looks like this ...

    [ img = https://imgur.com/a/34NjHgQ ]

    The follow template works BUT it's not possible to be replicated on C3 since Function can be added like in Construct 2 (see line 4 on the image)

    So my 2 questions are:

    1 - How can I fix/change this code so I can recreate it on Construct 3?

    2 - If it's not possible, is there any other simple solution for my problem? A way to enemies to "pursue" player without overlapping?

    :) Thank you in advance for any help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Create the function yourself with add function on event sheet, and then call it in the same place. For the paramter you add the parameter on the function itself. Instead of using function.param(0) to refer to the parameter it would just be the name of the param appearing as a variable after you create it.

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