The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need help resetting a note.
drunkmonk Offline
Member

Posts: 109
Threads: 7
Joined: Jun 2012
Reputation: 4
#1
I need help resetting a note.

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.
(This post was last modified: 06-19-2012, 03:36 AM by drunkmonk.)
06-18-2012, 02:30 AM
Find


Messages In This Thread
I need help resetting a note. - by drunkmonk - 06-18-2012, 02:30 AM



Users browsing this thread: 1 Guest(s)