Auto-translated
Here's the problem: is it possible to remove a hero "into nowhere" using a script, so that they disappear completely? For example, a neutral hero joins our faction, and after a certain time, when we reach a designated location, they should leave us, but in such a way that they are no longer present in the game at all. This question came to me spontaneously, so I asked it right away. If the solution is simple, I apologize for wasting your time. But I'm still waiting for an answer.