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
IT WORKS! yay
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#19
RE: Player Respawn on other map

(04-11-2012, 03:51 PM)Mackiiboy Wrote:
(04-11-2012, 03:42 PM)Mackiiboy Wrote: Wierd. I tried it out and it works perfectly. Do you change map after death at all?
I you do, can you put up the whole script from your other map?
.
I guess that the script you did put up was not from the other map, I meant from "Map3.map" Shy
i dont got any script at map3.map yet
(04-11-2012, 03:50 PM)DRedshot Wrote: I'm guesing there's a problem with this part of the script

Spoiler below!

void stoplookatenemy1(string &in asTimer)
{

StopPlayerLookAt();
SetPlayerActive(true);

}


Try troubleshooting that. I would also try this:

Spoiler below!

void Jalla(string &in asName, int alCount)
{

StopPlayerLookAt();
ChangeMap("Map3.map", "PlayerStartArea_1", "", "");

}

See if that helps Smile


Edit: Yep, found the problem.
Re-read what you wrote in the Timer callback, you've misspelt something Tongue

AddTimer("", 4.0f, "stoplookenemy1");
void stoplookatenemy1(string &in asTimer)

remove the 'at ' and it will work fine!
ty it worked

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
(This post was last modified: 04-11-2012, 04:01 PM by jessehmusic.)
04-11-2012, 03:55 PM
Website Find


Messages In This Thread
IT WORKS! yay - by jessehmusic - 04-11-2012, 02:29 PM
RE: Player Respawn on other map - by Mackiiboy - 04-11-2012, 02:48 PM
RE: Player Respawn on other map - by Mackiiboy - 04-11-2012, 02:54 PM
RE: Player Respawn on other map - by Mackiiboy - 04-11-2012, 03:03 PM
RE: Player Respawn on other map - by Mackiiboy - 04-11-2012, 03:24 PM
RE: Player Respawn on other map - by Stepper321 - 04-11-2012, 02:48 PM
RE: Player Respawn on other map - by Mackiiboy - 04-11-2012, 03:36 PM
RE: Player Respawn on other map - by Mackiiboy - 04-11-2012, 03:42 PM
RE: Player Respawn on other map - by Mackiiboy - 04-11-2012, 03:51 PM
RE: Player Respawn on other map - by jessehmusic - 04-11-2012, 03:55 PM
RE: Player Respawn on other map - by DRedshot - 04-11-2012, 03:50 PM



Users browsing this thread: 1 Guest(s)