Enchance Input + Inventory Sysytem

Hello can anyone help me? I tried doing an Inventory system,with an vid thats 2 year old got to the controls…Figured out how to do Enchanced Inputs…i allowed Inputs for my character but nothing is working…I need an video or image to help me please!

Hey there,

If I were in your shoes, I’d suggest checking out a recent tutorial video that explains the Enhanced Input feature you’re having trouble with. I’m not quite sure whether you’re using Blueprint or C++, and without knowing the specifics of your problem, it’s a bit tricky for me to offer precise help. However, Unreal Engine has some fantastic documentation that covers this topic thoroughly. I’d recommend giving that a look – it’s easy to navigate and might have the exact solution you need.

Im using Blueprints. I’ve used documentation to set up the Enhanced actions,connected it to ThirdpersonBP but i think I went wrong in the code somewhere. Gonna load it up and take screenshots

This is what i got with Blueprints,apart from whats already there with the Thridperson content

By nothing is working you mean also the Crouch input action? Do you get the elapsed seconds from the Print String function you have put on the Triggered event?

Yeah no writting is popping up dunno what i did wrong.Well my frist project lol so i guess thing are bound to go wrong

Then I am mostly positive it has something to do with the Input Action or the Input Mapping Context, I can only think of simple solutions as why it does not work for you, I see that you are only adding the IMC_Default so I assume you added the input action to that IMC? As I understand in your case you only want to pick up an item so a simple Input Action with no modifiers or triggers settings on it right? Added the Input Action to the right IMC and inserted a key? I know these are simple solution you may have already checked but it doesn’t hurt to add them, also you may have the Default Player Input Class/Component Class not set on the enhanced player input in the project settings in the “Input” section, less likely to be that because from UE 5.1 onwards it is set to that automatically.

Yes added it to the right IMC as it was eaiser to use the default one there. I did had an trigger for ‘Pressed’ but that setting is on the Input action and the key binding is ‘E’…errr i didn’t know the Default Player Input Class/Component Class had to do that…i’ll do that and see what happens.


this one?

Not the override one, in the project settings, go to Edit → Project Settings → Input. But it wouldn’t work either because I forgot the fact that the ThirdPersonBP template already implements its inputs with the enhanced input system. I am very confused; I’m trying to understand what’s really wrong here because even the most basic input doesn’t work, and you have already shown me that everything is implemented correctly. It’s probably something very silly that we both haven’t noticed, It may sound like a hassle to do now, but I would create a testing project that has the ThirdPersonBP template as well and try to implement a very basic input that just prints hello. Whether that works or not, I would compare them. It’ll be easier to know if it wouldn’t work because then you will know it’s a small mistake in the main project.