Racing car positions
#2

If you want to know the position of the player and you got three indicator

You need to sort the players
  • First after the laps
  • Than after the checkpoints
  • At last after the distance to their next checkpoint
After each sort you get groups, at the end you need to fit all groups together
It should work like merge sort, could be pretty hard to script
Reply


Messages In This Thread
Racing car positions - by iTorran - 30.06.2012, 23:13
AW: Racing car positions - by Nero_3D - 01.07.2012, 01:33

Forum Jump:


Users browsing this thread: 1 Guest(s)