Balancing the order of the event lsit

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.
  • Say you have two opposing teams, red team and blue team. Whenever their actives touch, they switch teams. Because they are two separate objects they require two separate events in the event editor. Red team's event is run first, giving it a severe disadvantage.

    Is there any way to solve this other than using qualifiers? The way my project is set up, combining both objects into one isn't an option. Many thanks.

    Edited once, last by WillFord (October 25, 2023 at 6:49 AM).

  • Best solution is to not have separate code for each team but to use an Alterable Variable instead.

    Give each player an Alterable Variable "team". 0 = Red, 1 = Blue. Yes you could use a Flag if you wanted to, but an Alterable Value will give you the leniency in the future to add Green Team, Yellow Team, etc. if need be.

    Then use the Alterable Value to set team colors and members and such, but moment-to-moment gameplay will just be single functions, rather than copied functions. This way no team will have process advantage over the other, your codebase will be far more optimized, and you won't have to worry about making sure the functions are the same between all players as they just will be.

  • Best solution is to not have separate code for each team but to use an Alterable Variable instead.

    Give each player an Alterable Variable "team". 0 = Red, 1 = Blue. Yes you could use a Flag if you wanted to, but an Alterable Value will give you the leniency in the future to add Green Team, Yellow Team, etc. if need be.

    Then use the Alterable Value to set team colors and members and such, but moment-to-moment gameplay will just be single functions, rather than copied functions. This way no team will have process advantage over the other, your codebase will be far more optimized, and you won't have to worry about making sure the functions are the same between all players as they just will be.

    How do you manage the collisions? That's the tricky bit, I think. When Active hits Active, how do you tell Fusion which Active gets which AltVal?

    Please login to see this link.
    My Fusion Tools: 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!