Frictional Games Forum (read-only)
The train arrives at the station .. - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: The train arrives at the station .. (/thread-11674.html)



The train arrives at the station .. - Urakozachok - 12-04-2011

Help someone who can. I need to make the arrival of trains at the player gets into an area. I want to use this script:

void OnStart ()
{
AddEntityCollideCallback ("Player", "What is Ares", "Pribitiepoezda", true, 1);
}
void Pribitiepoezda (string & in asParent, string & in asChild, int alState)
{
AddPropImpulse ("chtotolkat (the name of the train in the game)", 0.0f, 0.0f, 0.0f (side in which talknesh train side dviganiya JDC), "world");
}
My question is: Do I need to put quotes here and how to fill in this blank. Show sample, who knows. Or write.

(side in which talknesh train side dviganiya Joint) or ("side in which talknesh train side dviganiya Joint") And what do they need to write? I would be very grateful.


RE: The train arrives at the station .. - flamez3 - 12-04-2011

(12-04-2011, 11:10 PM)Urakozachok Wrote: Help someone who can. I need to make the arrival of trains at the player gets into an area. I want to use this script:

void OnStart ()
{
AddEntityCollideCallback ("Player", "What is Ares", "Pribitiepoezda", true, 1);
}
void Pribitiepoezda (string & in asParent, string & in asChild, int alState)
{
AddPropImpulse ("chtotolkat (the name of the train in the game)", 0.0f, 0.0f, 0.0f (side in which talknesh train side dviganiya JDC), "world");
}
My question is: Do I need to put quotes here and how to fill in this blank. Show sample, who knows. Or write.

(side in which talknesh train side dviganiya Joint) or ("side in which talknesh train side dviganiya Joint") And what do they need to write? I would be very grateful.
I'm not being mean here but I really cant understand what you are asking? What scripts do you need help with?