Tirilno
Junior Member
Posts: 27
Threads: 5
Joined: Jul 2011
Reputation:
0
|
Problem
Ehm, Hallo. My script doesn't work, I get an error when I try to enter the room.. it reads: 'PlayerStartArea_2' is not declared.
Here's where I think the problem is.
Under Onstart
AddEntityCollideCallback("Player", "teleport_1" , "CollidePlayerTeleport", true , 1);
void CollidePlayerTeleport(string &in asParent, string &in asChild, int alState)
{
TeleportPlayer(PlayerStartArea_2);
FadeOut(0);
FadeIn(20);
}
(This post was last modified: 08-20-2011, 12:57 PM by Tirilno.)
|
|
08-20-2011, 12:49 PM |
|
darkside
Junior Member
Posts: 20
Threads: 2
Joined: Aug 2011
Reputation:
0
|
RE: Problem
TeleportPlayer("PlayerStartArea_2");
you need the quotes.
Snowy background, anyone?
Now, where was that grunt with the santa hat ....
|
|
08-20-2011, 12:51 PM |
|
Tirilno
Junior Member
Posts: 27
Threads: 5
Joined: Jul 2011
Reputation:
0
|
RE: Problem
(08-20-2011, 12:51 PM)darkside Wrote: TeleportPlayer("PlayerStartArea_2");
you need the quotes. Oh... Thanks.. xD
|
|
08-20-2011, 12:56 PM |
|