How can i get new objective when one leaves from area?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I'm trying this:

    -When player enters on zombie radius, zombie gets that target and look in direction to that player.
    -If player leaves zombie radius, zombie loses his target
    (This first part is working)

    Now I want to add one more condition, when actual target leaves radius but there is other player inside zombie radius, how I get this new target? here is my code

    Please login to see this picture.

  • I love these threads. Good job!

    (Since this is the internet I should clarify - this is not at all sarcastic. I absolutely empathise with staring at your code, throwing your hands up and posting for help, and then near-immediately figuring out what you had to do after said post. Been there. Love it.)

  • I love these threads. Good job!

    (Since this is the internet I should clarify - this is not at all sarcastic. I absolutely empathise with staring at your code, throwing your hands up and posting for help, and then near-immediately figuring out what you had to do after said post. Been there. Love it.)

    Well actualy asked on discord aswell and someone tellme to try other method :P

  • Okay I need serious help with this, I'm stuck not being able to do this correctly, I have 2 players in the game both are in same group, zombies gets closest player (when player enter in zombie radius) and store his ID, then he must look in direction of this player until player leaves his radius or another player is closest, can anyone helpme? here is my code Please login to see this picture.

  • It looks like your issue is related to object scoping; the way way fusion decides which object to apply actions to based on the conditions.

    In your case, it looks like at least part of your issue is the conditions in event 149, the condition comparing alterable value g of the zombie to alterable value A of the player group. In Fusion, objects are generally selected from the left most portion of a condition (the object you select to create a condition), so you'll need to flip that one around. You may also need to move that condition up one line, above the overlap condition.

    Volnaiskra wrote a great article on scoping Please login to see this link., I'd suggest reading through it, as scoping is often the culprit when things don't behave as you'd expect in Fusion.

  • Danny also wrote a scoping tutorial Please login to see this link..

    Please login to see this link., Please login to see this link.
    Discord: Please login to see this link., Please login to see this link., Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!