Frictional Games Forum (read-only)

Full Version: The train arrives at the station ..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
(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?