The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Problem
Tirilno Offline
Junior Member

Posts: 27
Threads: 5
Joined: Jul 2011
Reputation: 0
#1
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
Find


Messages In This Thread
Problem - by Tirilno - 08-20-2011, 12:49 PM
RE: Problem - by darkside - 08-20-2011, 12:51 PM
RE: Problem - by Tirilno - 08-20-2011, 12:56 PM



Users browsing this thread: 1 Guest(s)