My Player Controller BP keeps breaking. I set-up the mouse interface to show and click events which works fine the first time, but if I change (mouse interface) the settings the mouse no longer works ? Also tried un-checking all and set them in the graph, also doesn’t work.
It’s not what I thought it was. In the bp I set up a left click mouse event and it locks into it the delay without processing other left click mouse events …
when you change variable names in interface input/output, all instances of interface disconnect this wire.
If you hold left mouse for less than MouseDownTimeLimit, it’s going to loop forever since it the branch will always be false. You probably want to put in a bLeftMousePressed bool etc. to break the loop if left mouse isn’t being held
It does end when not being help, that’s not the problem. I shouldn’t have chosen the word “lock”. It all works fine but using left click event else where at the same time it’s working on the time down, the event doesn’t trigger.
It wouldn’t end, try it in PIE with your player controller selected in the debug filter, you’ll see it looping. It might not be the cause of the problem but it isn’t a good way to do it.
Which event isn’t firing? Do you mean left click events in other blueprints? Or do you want something to happen when the player clicks left click, but doesn’t hold it down?
It already does, been tried n tested, u can plainly see the boolean. The problem is the simultaneous event. “Left mouse button” in another blueprint.
Make sure neither event has consume input enabled. And the other actor has input enabled
Great, works now. Thanks.