How can I connect this two branches with the event?
Hi,I'm working on a 2d game and I want the time to slow and stops when a key is pressed. This 2 scripts are working fine but they need to be connected with the event tick. As you all know, on blueprint of ue4 an event only can be conected with 1 widget. Event tick has also the animation system so it needs to be connected too. But the branches can't be connected at the same time, what I want to do is to have the 2 branches working so the 2 scripts can be used at the same time. I post you some images to understand it better:
So thats the all script: https://i.imgur.com/Z2mXCuJ.png
This is the event tick (with animation staff): https://i.imgur.com/oroVa8M.png
That's the 1st branch that needs to be connected (no working): https://i.imgur.com/0gexvqO.png
That's the 1st branch connected (working): https://i.imgur.com/kRcbcHG.png
That's the 2nd branch that needs to be connected (no working): https://i.imgur.com/2Fs8LVm.png
That's the 2nd branch connected (working): https://i.imgur.com/ZYQF85Q.png
What I want to do is to have the 2 branches working so the 2 scripts can work fine at the same time.
asked Jan 14 '18 at 10:50 AM in Blueprint Scripting
You should make 2 Custom Events. One called StopTime, the other SlowTime.
You can then call StopTime and SlowTime from your Tick function.
You could also use the Sequence node.
Hope that is what you are looking for ;)
answered Jan 14 '18 at 11:08 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here