Hi, I am in need of some desperate help. I have a project where I have to complete a game and we haven’t really learned a whole lot of blueprinting so I have no idea what I’m doing. I am using the starter vehicle game, and I have created a cone asset and blueprint and I have made it as to where if the car hits the cone it will make a “hit” boolean variable be true. I want the game to go through all of the cones throughout the game and if all of them have been hit, the game will say “You win” but I can’t figure out how to do it
Do they have to be hitted in order? Have you checked the “Time Attack Racer” tutorial (https://www.youtube.com/watch?v=VJj6rQpktyI&list=PLZlv_N0_O1gYdhCvvMKGpCF6LCgBz9XeS)?
Hi, thanks for the reply. Maybe if I really wanted to spend some time on it then I might consider forcing them to be hit in order but right now all I care about is if they are hit in any order.
In the Gamemode, at begin play, use “Get All Actors” to get all cones, and save it in an array.
Now, everytime a cone is hitted, remove it from the the array, and check if empty. If so, then, you win.