1. #1

    Button Trigger Confusion? Need Help

    Basically, I've made button triggers which allow you to zoom the camera in and out, using LB and RB respectively. The camera zooms in and out completely fine now when these are pressed, but there seems to be some really strange second result of this. Whenever I press either of these buttons, the game character teleports back to the start of the level, like you do when you push B in normal Trials games.

    I don't understand why this is happening at all. Literally all I did was attatch the button triggers to a few state events, attach those to a couple of data sources, attach that to a function to subtract them, then just put the result to an object position event to move the camera. None of the set up is even connected to an object position event tied to the game character. In fact, to my knowledge, I haven't spawned ANYTHING that could cause the game chaaracter to teleport or restart like that since I've been making the map...

    So, yeah....Anybody have any idea what's causing this?
    Share this post

  2. #2
    RetiredRonin's Avatar Senior Community Manager
    Join Date
    Sep 2012
    Location
    Ubisoft NC Office
    Posts
    7,343

    Re: Button Trigger Confusion? Need Help

    If this is happening in testing, then press the Start button and make sure that "Extra Buttons" are DISABLED.

    LB and RB are used to send you back or forward a checkpoint in the editor's testing mode.
    Share this post

  3. #3

    Re: Button Trigger Confusion? Need Help

    Originally Posted by ShiftySamurai
    If this is happening in testing, then press the Start button and make sure that "Extra Buttons" are DISABLED.

    LB and RB are used to send you back or forward a checkpoint in the editor's testing mode.
    Yeah, that was the problem... Works fine now

    ...I'm just gonna go and feel incredibly stupid somewhere now.

    Thanks Shify
    Share this post

  4. #4
    RetiredRonin's Avatar Senior Community Manager
    Join Date
    Sep 2012
    Location
    Ubisoft NC Office
    Posts
    7,343

    Re: Button Trigger Confusion? Need Help

    Don't feel bad. I literally had the same question last Friday...
    Share this post