Interacting Objects (E) and Doors: Works For One Object Only

Ok. A lot of your problems are stemming from the fact that you’ve declared the variable ‘Current held item’ as an ‘item parent object’ reference. I think you should have declared it as ‘actor object reference’.

To make this change, you need to change the variable type in the FPSController, then:

  1. Add another function to the blueprint interface:

  1. In your item parent, you can add the call:

image

  1. In your FPSController you can change this call to an interface call

This won’t help with your problem YET, but it’s a crucial step which gives you two things you really need:

  1. You can directly compare the looked at actor and the held actor without casting

  2. I -think- it’s probably what was in the tutorial ( but haven’t watched it ).

I’ll come back in a while…