Input action issue in BP

Hi,

I got a big problem with the input actions.
I got a weapon blueprint where I added some bp logic for rotating the weapon turret and firing.

Now when I add the bp to my player character I can rotate the turret but the “input action left click” don´t fire his event.
If I add a second player character (copy) the rotation don´t work either.

So I try to find some answers in the www but all the hints didn´t work.
I disabled consume input in the input action try to enable inputs before and the auto input were tested too.

I´m testeing arround for 3 days now and couldn´t find the solution, I hope someone of you could help me out.

Best regards
Harlyk

I made some images, perhaps it helps!

48764-input%20actions.jpg

I just did a test with settings false-false-false on both input events and it works fine. Are you sure you actually possess this gatling gun actor? Did you add some printstring attached to it to see if the error might be elsewhere?

sidenote: if your actor should have movement, I suggest you use Character as parent instead of Pawn, it makes things much easier.

Hey ,

thx a lot for answering,
I try debugging instead of printstring cause I´ve got 2 displays. There are no actions while I´m pressing left mouse button.

the gatling is a pawn blueprint and I added this blueprint at my player character blueprint. So the player charakter is possess not the gatling blueprint.

The gatling gun will not have a movement it just rotate to mouse position and then there should be some shooting at the end.

The big plan is to generate many player character with diffrent weapons, the aiming and shooting should be handeled in the weapon itself.

But in the weapon blueprint no input action will fire.

In meantime I get some further informations.

It looks like that my gatling pawn blueprint that is added in my player_character don´t get any inputs because my player_character is possessed the gatling needs to be possessed to get any inputs and this isn´t the way it should work.

I really wondering, is it really impossible to give 2 blueprints(player_character and pawn) an input action at the same time ?

I can´t programming all this diffrent weapons in the payer_charakter or controller, I just want to have the ligic into the weapon blueprint.

Is there any way to get this working ?

Found the answer, the weapon has to be a actor blueprint not a pawn blueprint.

Thx a lot for your help