Random object create

hi guys im having a bit of trouble with this one :slight_smile:

i have say 6 cars all different and i want after 5 seconds to create a random car out of the 6

i have done the time part but i cant figure out how to make it pick randomly out of the 6 cars i have as objects

any ideas :slight_smile:

Make A scene variable ->if timer 6sec ->Set variable to random integer in range:1 and 6 ->if scene variable is 1 create car1 , if scene variable is 2 create car 2… Also trigger once

perfect thank you very much ! :slight_smile:

1 Like

Or without timer, you can just check the TimeFromStart() expression, it’s the time elapsed since the beginning of the scene (conditons => Other => Compare two numbers).

1 Like