Delete Target Point

Hi , i’ve some target points that was added by blueprint node to scene , and i save that to an array of actor type , and now i want to delete one of the special target point from the array and scene , please help.

You are removing the target point from the array, not the target point itself.

You need to use a get from the array and then destroy the actor.

Hope it helps.

thank you for replying.

Sorry, I did not understand the question correctly. Are you detecting in anyway when an actor reach a target point?

the actor is detecting target point by location

If you randomly choose your target point to go to, when the actor reach it, just use this same index to store the actor in a variable, remove the index from the array and then use this variable to destroy the actor.

thank you very much

You’re welcome!