Frictional Games Forum (read-only)

Full Version: Few questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
(05-03-2013, 01:22 PM)The chaser Wrote: [ -> ]void OnStart()

{

////Monsters appear

PlaySoundAtEntity("Thenameofyoursound", "Player", 0.1, false);

AddEntityCollideCallback("Player", "EndingArea", "Stahp", true, 1);

}



void Stahp (string &in asParent, string &in asChild, int alState)

{

StopSound("Thenameofyoursound", 0.1);

///Yourcredits and other

}

Oh my god, use this one, I writed "tue" instead "true".

No, that's not the mistake. I actually fixed it up at the first one, and it still didn't work....
I don't think there's mistake in this script, I think it has to be different script or something....
Pages: 1 2 3 4