Hi Sebaslive,
Thanks for your attempt to answer, but I'm not sure you understood me:
I am aware of the 'ordinary' checkpoint approach - and other hacks on a 'standard' racing game where you do not know how far each player is.
I however know the position of all my players, as a float n (0 -> unlimited)
What I need to know is an elegant way to sort these and find Players rank (position on the chart), so I can write 'You are 2 of 10'.
So, to put it in another way, I need to:
* Sort my list of game objects (all racers) based on float n
* Look up a particular racer (player) to see his position on the list
Since Playmakers version of Sort is not opening for Linq or Comparison
https://msdn.microsoft.com/en-us/library/tfakywbh.aspx- I do not know how to do this elegantly.
What I am doing is a self made loop-through-and-compare in FSM's but that is hardly optimal - and I need it every frame, so I need it to be optimized, and I do not know how to do that with PlayMakers Array functionality.
Thanks