I’m having trouble with a particular item effect. Blueprints below. Right now when I use an item, it gets deleted and an actor is spawned which does the effect.
However, I can’t seem to get it to work how I want. When I use the item, I want it to wait for my next click on a specific “MarineMesh” object and apply the effect to that pawn. I have all of the logic coded, however I can’t seem to work out how to get the mouse input to work.
Here is my consume item logic.
And here is my item effect logic.
Now, if the right click event was triggered it would all work, however obviously since this Item Effect Actor is not my player controller it can’t trigger a right click event.
Though My right and left clicks will be binded to other functions. So do I need to have a specific “Use” key input? and then bind this function to my characters “Use key”? This seems like overkill because I only want the click event to have this effect in very rare circumstances (after using a medkit item).