Hello,
I am trying to make steath game and i am stuck at the “door hacking” part. The setup is simple.
You walk up to a door, box trigger goes off and checks if you have already unlocked/hacked the door. if so then it opens and closes when you leave the trigger. if not the it opens up a widget with a few buttons and you have to chose the right button to hack it. This is all part of the door blueprint (see attachment). if you get the right button it fires off a custom event and the door gets unlock/hacked and it will open en close for you.
It seems to go wrong at the widget blueprint. if you press the right button it try to cast to the door blueprint en fire off the event. and this works fine if you have only a single door. but when i duplicate the door/make another instance of it. it stops working. it seems that its casting to the orginal door/ the first instance of the door.
I cant seem to find a way to make it cast to the right instance of the door. can you guys help out a starter?
With kind regards,