What I'm thinking is this:
1. In the OnInit function, add this part to the IF check-
IF "&c5"
IsEqual(%spawn, __Me)

And then in the OnDie(%spawn) function after the THEN
Set(%spawn, __Me)

I'm cutting out a lot of the code, but those are the important additions.
At the beginning %spawn is initialized as __Me. When it dies, %spawn is still __Me.

Upon reload, it checks the IF, sees that %spawn == __Me, and creates a spawn. In the process, it sets %spawn to the new spawned character.

If at that point the game is saved/reloaded, %spawn should still be set to the spawned character, and thus not trigger the OnInit again.

When the spawn dies, %spawn is set to equal __Me again, which will make a new spawn whenever OnInit is run again.

Edit:
I think I see now. %spawn is set to null when it reloads doesn't it? My changes above didn't work; they don't even allow a single respawn to occur.

Last edited by Rhidian; 03/09/14 03:49 PM.