Hey. I’m completely new to unreal so apologies if this seems super basic, but in planning a game I’d like to make with my son, I’ve been listing down specific things I need to learn to be able to build said game. However, one of the things I’m struggling to find documentation on (possibly due to me not knowing what to look for) is a system whereby in order to score points, you have to place an object where it needs to go. I can find plenty of help on the picking up and dropping of objects, but less so on objects having a goal state as it were.
Any pointers would be massively appreciated!
Hello,
This depends on how the item is dropped. So you have to be VERY specific about what you need:
- Is the item dropped automatically? So the moment you enter a space, the item drops?
or
- You have to enter a space and then press a key to drop the item?
Assuming it’s “1” (which is considerable less complicated), then you can place a TRIGGER BOX that fires code when a character steps inside of it WITH the object.
So, you’ll also need to have a BOOLEAN (true/false value) that monitors when your character is in possession of the object.
If the BOOLEAN is TRUE and the character steps within the TRIGGER BOX, the code will initiate whatever scoring function you created.
Thank you for the response! I’m all for the easiest route at this point, at least while I’m learning. I’ll give that a go, but if you have any links that you’d recommend for this kind of thing, then please let me know!
Thanks again
You still didn’t clarify any of the questions I asked, so, hard for me to point you in a specific direction.
This is similar to what you need, but, I have to stress that what you want requires basic skills you may or may not have.
Sorry, to clarify I meant option 1! Thanks again, appreciate it