I've been using this fantastic script for a few months for my game, and it has gotten pretty big now. However, a VERY annoying issue keeps happening and I cannot find a way to solve it.
Whenever an enemy dies, if a save-and-load or change map then come back, the enemy will have respawned. I cannot figure how to prevent this, because some things (such as human beings) aren't supposed to come back to life when you leave a room.
I have tried erasing the event upon its death, using local switches, but none of what I've tried has worked so far.
Can anyone help me ? I desperately need help as I cannot see myself going deeper in this game's development without solving this major problem.
Thanks in advance, and sorry for the grammar mistakes, I'm French.
Whenever an enemy dies, if a save-and-load or change map then come back, the enemy will have respawned. I cannot figure how to prevent this, because some things (such as human beings) aren't supposed to come back to life when you leave a room.
I have tried erasing the event upon its death, using local switches, but none of what I've tried has worked so far.
Can anyone help me ? I desperately need help as I cannot see myself going deeper in this game's development without solving this major problem.
Thanks in advance, and sorry for the grammar mistakes, I'm French.