-
End game after 3 restarts? Solved
As the title states , how can I end game after 3 restarts? thanks
-
Re: End game after 3 restarts?
I think one of the game sources lists the amount of faults done.
You could have a constant impulse trigger connected to a generic filter which checks if faults is above 3, and if it is, connect that to an end game event.
-
Re: End game after 3 restarts?
ok I understand , but how do I set it to 3 faults?
-
Re: End game after 3 restarts?
Ok i think I got it but hen it hits 3 restarts the game don't restart...
I've got the on true from the generic filter going to and en event , is that right? thanks for ur help
-
Re: End game after 3 restarts?
To help u help me here is what I got set up
End event
|
(on true)
|
Generic filter (equals)--comp v 1-- Game variable source(faults)
|
comp v 2
|
Two input operator (max) (operand 1 = 0 operand 2 = 3 )
-
Re: End game after 3 restarts?
A two input operator isn't necessary. I set this up real quick. If you do the same as this screenshot, it'll work fine:

Set interval on interval trigger to be 1 and press Y on comparison value 1 to make it use the number from the faults data source. You can add a break event affecting the bike after the end event if you also want the bike to always explode when this happens.
The only downside to this is that the fault number only increases whenever you reset to a checkpoint, so the game won't end once the player faults for the third time, it'll end when the player resets to the checkpoint when at 3 faults. I dunno if there's a way to fix that.
Edit: Actually, there is an easy way to fix that. Add an additional trigger and check. If the player bails out or crashes when at 2 faults, then also end the game. As set up here: