Hey guys,
i actually started playing around with unreal engine 4 and i am stuck with a WhileLoop.
I just want to repeat moving the static mech while the middle mouse button is hold down.
My problem is: What has to be connected with the input of " Is Mouse Button?
Im not any kind of expert btw too but i dont see any node you setting your mouse is pressed. Also if im not wrong You dont need a branch there or even a while loop.
Loops also are very bad to use when you prees the a button or key action they mosty break cause the start to repeat the action thousands of time in a second and and the game get unresposive.
I just use to open a gate when the desired button is pressed. Use even tick on the gate entrance anc desired inputo on open close gate. You can also put an delay if you want to uppdate the function less frecuently.
Like for example moving the mesh 100 units every second or so
Well is it like i just used the wrong node ? Because " Is Mouse Button Down " awaits a pointer as input and your solution not
I think i stay with the solution of terror grunt. But it is also good to see the syntax of other solutions to understand the blueprints.
I just learned python and played a little bit with c# so i have a small amount of programming knowledge.