Download

Level blueprint - loop movement (matinee)

updown.jpg

Guys, I have one platform that have 2 matinee actions - one matinee is moving platform up for 5 meters and then moving platform to start position, and other matinee is moving platform down for 5 meters and then move it to start position.

So I have in “Switch on integer” BP, which random select one of two matinee.

But my question is - how can I make loop command, so game will every time select “Switch on integer” when previously matinee is over?

Not only for one time, I want that this selecting will be infinit.