Disappear my enemy [resolved]

I think that would work for me with one, but I have several with different dynamics, can I share the project with you so you can see it better?

captura7

I don’t have UE5. But you should look into inheritance. The timer runs on the parent, you call the Stop functionality on the parent and children Ghosts stop.

The shared functionality goes into the parent (like moving) and the specifics (how or how fast / differently they move) goes into the children.

You can reparent actors at any time and move the script there.


Or use an interface, this way you could implement the interface on any actor that needs it and Get All Actors with Interface instead.

2 Likes

I will see it, thanks

It was very well resolved, thank you