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
Resetting some stuff on death?
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#1
Resetting some stuff on death?

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.

Creator of The Dark Treasure.
09-23-2011, 06:36 PM
Website Find


Messages In This Thread
Resetting some stuff on death? - by Linus Ågren - 09-23-2011, 06:36 PM



Users browsing this thread: 1 Guest(s)