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
Script Help Need some help restarting map!
ingedoom Offline
Member

Posts: 120
Threads: 12
Joined: Feb 2012
Reputation: 0
#3
RE: Need some help restarting map!

(03-22-2013, 09:14 PM)TexMex Wrote: Hey, I need some help with my story, or the scripting for my story. The problem is that i need the map to restart when the player dies but i cant figure out how to do this, i tried to put a checkpoint in the beginning of the story but then the player already had the knife (after he died) that was supposed to teleport him when he picked it up.

So do anyone know how to restart the map when the player dies?

Thanks for all help

I don't know how exactly your story evolves, but you need some trigger to restart the story. For example a collide callback, that will make the script restart. If you can follow me? Any trigger will do. There is no function like Restart(), you have to use the engine script to reset it all as it was at the beginning. It all depends on what your story's content is.

[Image: 23778.png]
03-23-2013, 05:19 AM
Website Find


Messages In This Thread
Need some help restarting map! - by TexMex - 03-22-2013, 09:14 PM
RE: Need some help restarting map! - by Wapez - 03-22-2013, 10:29 PM
RE: Need some help restarting map! - by ingedoom - 03-23-2013, 05:19 AM
RE: Need some help restarting map! - by TexMex - 03-23-2013, 10:57 AM
RE: Need some help restarting map! - by Wapez - 03-23-2013, 01:03 PM



Users browsing this thread: 1 Guest(s)