I have made a very simple leaderboard, where I with variables compare them to one another and based on that output to a specified label.
Is there any way to make "loop", say if I had 20 players without having to go through each "manually" and without making a custom script?
Right now it's pretty much "a tree", first comparing two, eliminating one, comparing the next etc...can this be more "automated"?
Any direction would be much appreciated
Cheers, Dan
Comments
I don't know what your current arrangement looks like, but you could simplify things by using ActionList parameters to set the Variables being checked dynamically.
However, I'd recommend custom scripting if you can - even if something can be done with a network of Actions, sometimes a task is just better suited to dedicated code. It wouldn't take much to take an array of variables, sort by value, and then set a series of labels accordingly. You will have to provide more detail about the specifics of your situation if you need more advice on that, though.
About custom code, as this isn't specifically adventure-related I would recommend asking on the Unity forums about it. Ignoring AC for the moment, look into having a script get the player's score from a regular integer that you can set in it's Inspector, and check against a List of other scores, i.e.:
public int playerScore;
public List<int> otherScores = new List<int>();
Once you've got a script and can turn those into an array of strings (the labels), we can help you connect it back to AC, i.e. reading the player score Variable and writing the labels to Menus.