Greetings!
I’ve got a lift powered by iTween, and triggered by an external button. A variable is set called LiftIsRunning when the button is triggered, and if it is, then the lift runs (i.e. iTween starts).
Now, what i want to achieve is for every time the lift goes up and down one time, the LiftIsRunning boolean to be checked again.
If it’s still positive, run the loop once again, if it’s not active, stop the lift running.
I’ve attached my blueprint.
If I send the output from iTween back into the Branch on the left, I get an immediate infinite loop when I stand on the button to trigger the lift, and I have to crash out of UE4.
Am I missing something simple? I’m using Max Loops set to 2 so the lift just goes up and down once.
's the lift BP
And heres the button BP
The button blueprint cycles through all lifts and only activates the one labelled, for example, with the number 1.
(i.e. button 1 activates all lifts labelled 1, button 2 activates all lifts labelled 2 etc)
Thanks!