I’ve been fiddling with a prefab blueprint for a moving platform and I want to make a way to tell it to loop with a Boolean variable.
This is what the blueprint currently looks like.
Can you try stopping two streams getting fed into that “platform-activate” node? Add a branch node before that, promote it’s condition into a new variable, set that variable to false after the branch node’s true condition so that the loop gets played in order and that initial node doesn’t get triggered continuously
I set mine up with 2 events( move to point one and move to point 2) theoretically you could have as many points as you like though, at the end of each call the other, and instead of set location call move component to. Throw away that timeline stuff just over complicates it
You’re calling second timeline from Update method, should be used Finished unless you want to reverse at any point
I don’t know what value you’re using in your timelines, but seems like you’re just inversing position in second timeline, you should just lerp between two positions when using Relative Location. Like from 0 to 150 and then from 150 to 0.
Here is a quick setup with single Timeline. Value in Timeline just goes from 0 to 1 and used as alpha between 0 and Height