I need help resetting a note. - 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: I need help resetting a note. (/thread-16258.html) |
I need help resetting a note. - drunkmonk - 06-18-2012 I am trying to figure out how to reset a note in my custom story when the player dies and is respawned via checkpoint. What I have is when the player walks into a room and picks up a note and after reading it, a monster is spawned and makes it way into the room with the player. What I want to happen is if the player is unable to leave the room and the monster kills them, to remove the note from their journal and also be able to pick it up again. I tried using the ResetProp(string& asName) function with no luck, is this even possible? Any help would be much appreciated! Thanks. |