Respawn sistem



The problem turned out to be the use of interfaces. I redid all the logic to use “cast to” and everything worked for me. Yes, I studied the documentation, but such a system of rebirth does not suit me.

I also had to update “do once” with an unsuccessful cast. I can’t understand for what reason, but sometimes the caste does not work and “do once” is closed and the actor is not destroyed accordingly. This is a bug for immortality)) Anyway, thank you for your concern. Everything works fine for me now. If you could tell us why it doesn’t work when using interfaces, we are newbies - we would be very grateful)

1 Like