Frictional Games Forum (read-only)
Big Problem: OH PLEASSE HELP ME OH GOD!!! Script Related - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Big Problem: OH PLEASSE HELP ME OH GOD!!! Script Related (/thread-5545.html)

Pages: 1 2


RE: Big Problem: OH PLEASSE HELP ME OH GOD!!! Script Related - LoneWolf - 11-27-2010

no problem, ehm i guess you need these

eg.

////////////////////////////
// Run when leaving map


////////////////////////////
// Run when entering map


////////////////////////////
// Run first time starting map


etc. before on start, on enter etc.


RE: Big Problem: OH PLEASSE HELP ME OH GOD!!! Script Related - kewl - 11-27-2010

Alright, I don't want to sound needy, but can someone help me with another thing? I want to play the sound "player_body_fall5.ogg" when the map begins.


RE: Big Problem: OH PLEASSE HELP ME OH GOD!!! Script Related - LoneWolf - 11-27-2010

eg.

PlaySoundAtEntity("name", "05_rock_fall_2.snt", "player", 0, true);

put in void collide script area for place when to trigger