1. #1

    Need a vehicle to trigger it's motion ONLY when the rider...

    ...passes a certain location on the map. I've gone through all of the tutorials on youtube but perhaps there is something I'm missing. I know it can be done as I've seen it on other levels I've downloaded but so far all I've managed to do is get the car to move from it's starting point to a preset destination. That's great, but the moment the level starts (and some 30 seconds before the rider even reaches that part of the level) the car begins to move and the end result is a car just sitting there when the rider passes by after 30 seconds. Setting it to start after 30 seconds doesn't help either as the car will either jump to where it should have been 30 seconds earlier the moment its allowed, or the timing is just off based on how good or badly the rider does before getting there.

    How can I trigger the car to move exactly (and ONLY) when the rider passes a certain point? Right now I've got my curve data sources set up, my object position event set up and my impulse interval trigger set up. But none of these seems to work with an area trigger or otherwise...HELP!

    Btw thank you in advance...and happy trials!
    Share this post

  2. #2

    Re: Need a vehicle to trigger it's motion ONLY when the ride

    It's probably your curved data source.

    The curved data source is running at all times, so even when your rider is not there it will be counting from its start to end variables over it's duration.

    This means that even if you have triggered the 'physics' or the Object Position Event at a certain location, the curved data source was running the entire time, and will appear to 'teleport' or whatever once you get there.

    What you need to do is create a trigger or use an existing trigger for when the rider gets to the area. From this trigger you will use a 'Set Value' Event and a Variable Data Source.

    Make the Set Value event change the Variable Data source from a 0 to a 1 when the rider hits the trigger.

    Now go into your curved data source and on 'Enabled' Hit Y and map this Variable Data Source to the enable.


    This way, when you hit the area, the car physics and whatnot are turned on expect) and the curve data source is now also enabled and will start to go through the 'motion' of the car while you are there.


    Hope that's clear!
    Share this post

  3. #3

    Re: Need a vehicle to trigger it's motion ONLY when the ride

    What you need to do it set up a state event. Set a trigger so the rider hits the point where you want the car to start moving and connect that to the state event. Now hook the state event up the the curved data sources and disable those.
    The state event will turn those on which will start the car moving. Make sure you turn the impulse trigger back to start at tic 1. Hope this solves your problem!
    Share this post

  4. #4

    Re: Need a vehicle to trigger it's motion ONLY when the ride

    It seemed pretty clear! Now lets see if I can put those words into action lol. Thanks for your help. I'll let you know if it's successful!
    Share this post

  5. #5

    Re: Need a vehicle to trigger it's motion ONLY when the ride

    Originally Posted by RustyBicycle
    What you need to do it set up a state event. Set a trigger so the rider hits the point where you want the car to start moving and connect that to the state event. Now hook the state event up the the curved data sources and disable those.
    The state event will turn those on which will start the car moving. Make sure you turn the impulse trigger back to start at tic 1. Hope this solves your problem!


    This is easier than my method. I am new with using state events so I don't know them too well. This is the same as what I said to do but it is a lot simpler and you should do it this way so you don't develop my bad habit of creating [set value/variable data source] Events for everything.
    Share this post

  6. #6

    Re: Need a vehicle to trigger it's motion ONLY when the ride

    That was it! Thank you guys so much! I knew I'd get the answers in this forum.
    Share this post

  7. #7

    Re: Need a vehicle to trigger it's motion ONLY when the ride

    BTW if you guys are curious to see how I used it, you can check it out in Track Central: Traffic Jam (gt: PANdaRUS)

    Thanks again for your help!
    Share this post