- Joined
- Sep 15, 2022
- Messages
- 5
I'm trying to create a resurrection mechanic similar to modern games. The hero does not die, but loses consciousness. Another hero uses rescue skill while being next to him and, after a while, brings a wounded comrade back to life. Two problems have appeared:
1. At first, I tried to immediately revive the dying hero, play his death animation and make him invulnerable. The problem is that the size of the hero is very large and if he loses consciousness And becomes invulnerable, he closes narrow passages with his giant body, which ruins the balance of the map. I tried to assign different categories to him, but still haven't found a way to make his body "transparent". Ideally, it would be great to stick with this one. To understand how you can make a character "transparent" but present at the time of death, and then return everything to how it was afrer ressurecting.
2. After first failure, I decided to create a copy of the hero and reduced it hertbox to 1. When the main character dies, he is replaced by a "transparent" copy, and when the ability is used on it, the real one is resurrected. But when you change between the copy and the real version, all abilities of the real one are reset and they must be reassigned. Can't find solution, will be glad for any advice
1. At first, I tried to immediately revive the dying hero, play his death animation and make him invulnerable. The problem is that the size of the hero is very large and if he loses consciousness And becomes invulnerable, he closes narrow passages with his giant body, which ruins the balance of the map. I tried to assign different categories to him, but still haven't found a way to make his body "transparent". Ideally, it would be great to stick with this one. To understand how you can make a character "transparent" but present at the time of death, and then return everything to how it was afrer ressurecting.
2. After first failure, I decided to create a copy of the hero and reduced it hertbox to 1. When the main character dies, he is replaced by a "transparent" copy, and when the ability is used on it, the real one is resurrected. But when you change between the copy and the real version, all abilities of the real one are reset and they must be reassigned. Can't find solution, will be glad for any advice
