1. #1

    LOGIC Help please!

    I have a trials track split into 4 sections with checkpoints and what I'd like to achieve is that every section has a seperate timer.

    So for example...
    'START to CHECKPOINT 1' is timed from 0mins
    'CHECKPOINT 1 to CHECKPOINT 2' is timed from 0mins
    'CHECKPOINT 2 to CHECKPOINT 3' is timed from 0mins
    'CHECKPOINT 3 to FINISH' is timed from 0mins

    Then at the end all the times are added together to give a total time.

    Is this possible because I racked my brain last night with the logic but just can't figure out how to create it!!!

    Any tips are much appreciated!
    Share this post

  2. #2

    Re: LOGIC Help please!

    I can help you out. Hit me up on xbox live and we can work through it
    Share this post

  3. #3

    Re: LOGIC Help please!

    the only way i know how to do this is for a skill game


    to create a custom timer you need a interval trigger set to send an impulse every tick, it sends that impule to a set value event wich is set to increase the value of a variable data source by 1. now youve got a custom clock. to have it start when you want turn the interval trigger off and get a state event that switches it on, have an area trigger set to send its impulse to the state event. now you hit the trigger and your clock starts.


    now if you wanna get your time through a section you need a set value event and another variable data source. have the set value event pull its vlue from the first data source and set the second, next have your checkpoint send a impulse to the set value event, this should make it so the second data source holds your time through that section,

    now if you wanna add each section toghter youll need to set up a custom timer for each section and get a n-input operator, have the operator set to add and have it add the values of the second variable data source. now go to track setting pick primary score set to get its value from the n-input operator and display that value as time. now your primary score will be your total time through all the sections.

    its a little complicated so if you any questions just hit me up
    Share this post

  4. #4

    Re: LOGIC Help please!

    Hey thanks Guys... Yeah sounds more complex than I expected but I'll work with that and see what happens.

    Thanks again!
    Share this post

  5. #5
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: LOGIC Help please!

    im sure one of the items available in the triggers is the game time, so when you pass a checkpoint have it send an impulse to subtract the previous time from the current time and store that.

    checkpoints have the option to send impulses when triggered, this will save a watchdog counter, saving quite a bit of processing.
    Share this post