to delete target when I hit it. Now I want to create new target when I delete current. How to do this? Sorry im really newbie, I will be grateful for the pictures. Thanks
I spoke badly i think, I would like to create game when you have 60 seconds to hit targets, and you can share with friends who have biggest score. Its just simple game for school. I dont want to place 9 targets, I want to create just 1 target and when player hit this target it`s deleting self and game create new random target in this 9 places and you shoot it again and again and you have just example 60 seconds for hitting most targets. Something like in this video but with static target(currently) : CS GO CLASSIC AIM TRAINING 25 targets - YouTube
So i dont have the same now? I have 9 targets, but like you said it will create 1 object each time, but what time I need to use some event and then when i hit target it will create new object on one of the 9 targets, but i dont now how to create new object when i delete this that is on map.
You drag of the SpawnActor ReturnValue and type âBindEventToOnDestroyâ.
Then you Create a custom event. mine is called âNewActorâ. and you connect its red square to the BindEvent âEventâ one.
Now when the actor is destroyed, it will call your âNewActorâ event.
Itâs a Dynamic Multicast Delegate implemented on the AActor class in C++.
In blueprints itâs called âEvent Dispatcherâ and i highly recommend you learn more about them
right click on the node and select âRefresh Nodeâ, it that doesnât work, drag from the red square and create the custom event there. it will automatically create the necessary pins for you.