Frictional Games Forum (read-only)
Scripting Help - 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: Scripting Help (/thread-15686.html)



Scripting Help - Battlefield3142 - 05-28-2012

Does anyone know how to do the closet scare? Where a player passes a scriptbox then a monster comes out of closet which flys open, and the monster poofs away?

All I need are the script functions involved and if possible tell me where they go. Like which one goes in the OnStart, and which is the void and the part in the "{}" yeah.

Sorry for bad english!


RE: Scripting Help - Prelauncher - 05-28-2012

The closet scare, I seem to have missed that there were a specific scare which includes a closet... well, on a side note I'd like to recommend that you avoid using these types of overused scares and go for a little more creative aproach to scaring players in your custom story.
If you really want to use this scare then I suppose you should try and use prop force on the closet and add a path node so the monster walks out from inside the closet and then you tick that little box when you select the monster in the editor that makes the monster turn into a lovely, unrealistic cloud of smoke, hallucination something I do belive it is called. And since you don't know how to write a script may I highly recommend this tutorial: #mce_temp_url#


RE: Scripting Help - Battlefield3142 - 05-28-2012

Thank you for the tutorial and information as to which direction I should go.

thanks