I have it to where I can walk up to an object and when touched to make it disappear. How do I Instead make it to where it wont disappear until I click the object with a button? Attached is the flow I have to make it disappear when touched. Thanks everyone.
You’re going to need to set up a line trace.
v=DTNO4kULts4
Once you get that set up, you can easily have it the trace set to destroy whatever actor it hits.
Depending on your game (e.g are you in first person mode, do you just have a mouse cursor on the screen,…) you can also use the “on clicked” event -> https://answers.unrealengine/questions/24407/onclicked-not-firing-when-object-clicked.html
It will be a Logitech usb controller, I would like to press a button on the controller to make this happen…so how would I do it then?
I almost got it, when I hit the x button on the Logitech controller I got it to destroy the actor and assign points, but NOW the problem is even when actor is destroyed I can still keep hitting x and the points will keep going up. any ideas how to tell it to stop adding points on x press once that actor is destroyed?
you could try putting a Do Once node in between Destroy Actor and Add Points?
That worked! Thanks!!