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 [SOLVED] Death Teleporting
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#12
RE: Death Teleporting

(09-20-2014, 09:41 AM)Straxedix Wrote: That's not what i want here...He can't run...I just want to grunt kill him and teleport to other map...

Then what you could use is a checkpoint, so if player dies it will load a checkpoint. And inside the checkpoint function you can put change map so when exactly the player respawns, it could change the map.

Example:

Add this to the function where it will spawn the grunt or the last monster which will kill ya
PHP Code: (Select All)
CheckPoint ("""""changemap""LANGENTRY""ENTRYTEXT"); 

And the checkpoint will call this when dying

PHP Code: (Select All)
void changemap(string &in asNameint alCount)
{
    
ChangeMap("MAPNAME","PlayerStartArea_1""""");
    


(This post was last modified: 09-20-2014, 09:49 AM by Radical Batz.)
09-20-2014, 09:47 AM
Find


Messages In This Thread
[SOLVED] Death Teleporting - by Straxedix - 09-20-2014, 09:21 AM
RE: Death Teleporting - by Amnesiaplayer - 09-20-2014, 09:26 AM
RE: Death Teleporting - by Straxedix - 09-20-2014, 09:27 AM
RE: Death Teleporting - by Radical Batz - 09-20-2014, 09:28 AM
RE: Death Teleporting - by Straxedix - 09-20-2014, 09:34 AM
RE: Death Teleporting - by Radical Batz - 09-20-2014, 09:34 AM
RE: Death Teleporting - by Straxedix - 09-20-2014, 09:37 AM
RE: Death Teleporting - by Radical Batz - 09-20-2014, 09:38 AM
RE: Death Teleporting - by Straxedix - 09-20-2014, 09:39 AM
RE: Death Teleporting - by Radical Batz - 09-20-2014, 09:40 AM
RE: Death Teleporting - by Straxedix - 09-20-2014, 09:41 AM
RE: Death Teleporting - by Radical Batz - 09-20-2014, 09:47 AM
RE: Death Teleporting - by Straxedix - 09-20-2014, 09:54 AM
RE: Death Teleporting - by Radical Batz - 09-20-2014, 09:55 AM
RE: Death Teleporting - by Straxedix - 09-20-2014, 10:06 AM
RE: Death Teleporting - by Radical Batz - 09-20-2014, 10:07 AM
RE: Death Teleporting - by Straxedix - 09-20-2014, 10:08 AM
RE: [SOLVED] Death Teleporting - by Radical Batz - 09-20-2014, 10:13 AM



Users browsing this thread: 1 Guest(s)