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.)
|