Solved Check which player is further on a track

Discussion in 'Plugin Development' started by MisterErwin, May 10, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    MisterErwin

    Hello together,

    how can I check, which player is further on a race track with curves and difference in height?

    My idea was, to make locations every x blocks and check to which the player is next.

    Is there an other (maybe better) way to check this?

    Thanks,
    MisterErwin

    bump...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  2. Offline

    Briggybros

    I would use a method where there are 'checkpoint' locations as suggested and when a player comes within a certain distance of the checkpoint, set that checkpoint as their last reached checkpoint. Each checkpoint is stored as an integer which is greater as they progress. Then to check, get each players previous check point and compare them, greater than, less than etc.
     
  3. Offline

    MisterErwin

    yes...

    So there's no other way else than ours...

    'll try it...
     
Thread Status:
Not open for further replies.

Share This Page