1. #1

    End game based on scoring

    How do I make it that a door won't open or the level won't end untill I let's say, shoot 3 targets?
    I'm using the emitter gun btw.
    Share this post

  2. #2
    mutetus's Avatar Trials Developer
    Join Date
    Dec 2013
    Location
    The land of fin.
    Posts
    859

    Re: End game based on scoring

    Please, if you have many questions, ask all of them in one topic.
    Share this post

  3. #3
    Jarr3tt88's Avatar Senior Member
    Join Date
    Jan 2013
    Posts
    3,520

    Re: End game based on scoring

    1) Have a trigger by your targets that send an impulse (red line) 'on hit' to a set value event (make increase by 1)

    2) Grab a variable data source (VDS) and set that as 0. Make a blue line go from the set value event to the VDS.

    3) Grab a generic filter (GF) make compare value 1 the (VDS), make compare value 2 (3) should say equals inbetween.

    4) Grab an interval trigger. Set the interval to 1 tick. Make an impulse (red line) go to the GF.

    5) Grab the End game event. On the GF make (on true) red line impulse go to the end game event.

    Hope this helps. In addition, the end game event can be substituted for an action you want, changing a color, a variation, invisibility, etc.
    Share this post

  4. #4
    IImayneII's Avatar Senior Member
    Join Date
    Mar 2014
    Posts
    1,060

    Re: End game based on scoring

    There is no other way then using the end event, but you are best to make it a skill game then if you use that. Because end event doesn't get the times quite right and in multiplayer it always says 0:00:000 and you get no points. I hate it when it's used in a trials track.
    Share this post

  5. #5
    Jarr3tt88's Avatar Senior Member
    Join Date
    Jan 2013
    Posts
    3,520

    Re: End game based on scoring

    Originally Posted by basslineux001
    There is no other way then using the end event, but you are best to make it a skill game then if you use that. Because end event doesn't get the times quite right and in multiplayer it always says 0:00:000 and you get no points. I hate it when it's used in a trials track.
    The OP doesnt state its for a trials track....
    Share this post

  6. #6

    Re: End game based on scoring

    Thanks bud, i'll give it a shot. Would you mind checking out my other topic. Maybe you know how to do that aswell
    Share this post

  7. #7
    Jarr3tt88's Avatar Senior Member
    Join Date
    Jan 2013
    Posts
    3,520

    Re: End game based on scoring

    Originally Posted by goodcap
    Thanks bud, i'll give it a shot. Would you mind checking out my other topic. Maybe you know how to do that aswell
    Which one? link please. and you're welcome!
    Share this post