I’m looking for advice to create a very simple system for my First Person delivery horror game.
I want the player to be able to interact with a box. Have the box shown in-front of them and not with an inventory mechanic. And be able to drop the box only at a certain area in the game. Which will allow the player to interact with dialogue.
Mostly looking for help on how to get the box in-front of the player as well as putting the box in the certain area.
Is there any tutorials or advice on how to drop off the items in a location as it seems to be the trickiest part with not a lot of posts about. (open to other user suggestions)
As far as tutorials I can’t really seem to find any, HOWEVER, if you make your drop off point just a static mesh and collision volume, you can then have the level blueprint access that and give it an “OnComponentBeginOverlap”.
Then, check if it is “whatever you name your pickup” using the = node and using your delivery item’s class as the check. If you have multiple pickups, make sure they share a parent class so you can just give it the parent class and it’ll grab any deliverable with that parent.
Then if true, execute whatever code you’d like. Take the colliding actor, do whatever you NEED like money based on the item etc, then destroy the item, or what have you.