Frictional Games
|
Forum
|
Privacy Policy
|
Dev Blog
|
Dev Wiki
|
Support
|
Search
Member List
IRC
Help
Current time:
02-20-2025, 02:56 PM
Hello There, Guest! (
Login
—
Register
)
Frictional Games Forum (read-only)
›
Amnesia: The Dark Descent
›
Custom Stories, TCs & Mods - Development
›
Development Support
« Previous
1
...
327
328
329
330
331
...
353
Next »
Problem
Thread Rating:
0 Vote(s) - 0 Average
1
2
3
4
5
Thread Modes
Problem
Tirilno
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
darkside
Junior Member
Posts: 20
Threads: 2
Joined: Aug 2011
Reputation:
0
#2
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
#3
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
«
Next Oldest
|
Next Newest
»
View a Printable Version
Users browsing this thread: 1 Guest(s)
Linear Mode
Threaded Mode