Frictional Games Forum (read-only)
Few questions - 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: Few questions (/thread-21296.html)

Pages: 1 2 3 4


RE: Few questions - Essen - 05-04-2013

(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....