Frictional Games Forum (read-only)
Resetting some stuff on death? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Resetting some stuff on death? (/thread-10448.html)



Resetting some stuff on death? - Linus Ågren - 09-23-2011

Well, I've asked this before a long time ago, but I didn't get the best answer.
If the player would happen to die by a monster, how do I reset so the monster will spawn again with the best method?

I know I have to use Local Variables to do it, but I don't concider placing a collidebox at the spawnpoint a good method, as the player tend to go back and trigger it by mistake, so the stuff will be resetted again.


RE: Resetting some stuff on death? - Your Computer - 09-23-2011

You cannot reset monsters, and if you could reactivate the monster, it would therefore start where the player died, which would therefore require scripting that keeps track of where the monster was last seen. The game was designed so that monsters would not provide a trial-and-error experience for the player.



RE: Resetting some stuff on death? - Linus Ågren - 09-23-2011

The ResetProp does not work on monsters?
Hmm.. I don't find it too good to make a monster appear once, and if the player dies, he can easily pass by without encountering it again.


RE: Resetting some stuff on death? - Your Computer - 09-23-2011

(09-23-2011, 10:39 PM)junkfood2121 Wrote: The ResetProp does not work on monsters?
Hmm.. I don't find it too good to make a monster appear once, and if the player dies, he can easily pass by without encountering it again.

You might want to look at this topic to see if some workarounds mentioned in it is suitable for your story: http://www.frictionalgames.com/forum/thread-10408.html