For the first one, Make an integer variable and add increment code to the input action. So when you press toggle, using branches, it’ll check what number you’re at [0] and add 1, setting walk speed to next state.
You hit it again, [1] and itll add 1, setting walk speed to 3rd state. You hit it again, and it’ll go through your branch, and see that integer == 2, so it sets integer back to 0 and walk speed to original state.
For the second one, get [mouse wheel up] and [mouse wheel down] input events. When you scroll mouse wheel up, it’ll fire every “tick” of the scroll. Create a walk speed variable to plug into the set walk speed node and increment that, setting walk speed after.
ex(every mouse scroll up you add 10 to the walk speed float variable, and then set Max walk speed to w/e that float variable is off the same mouse scroll event) Make sure to add branches clamping the speed at a lower end and an upper end. Branch–> if walk speed variable would be <100 do nothing. if walk speed variable would be >500, do nothing. Put the clamp before the increment so it wont even try to add to the float variable and mess up the numbers.