Frictional Games Forum (read-only)
[SOLVED] Scripting a vision disturbance? - 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: [SOLVED] Scripting a vision disturbance? (/thread-6294.html)



[SOLVED] Scripting a vision disturbance? - Linus Ă…gren - 01-20-2011

I want to know how to make a script that makes you see like a quick zoom in and zoom out and then add a sound, and also increasing your sanity a bit. Anyone who can help? Smile


RE: Scripting a vision disturbance? - Tanshaydar - 01-20-2011

http://wiki.frictionalgames.com/hpl2/amnesia/script_functions

GiveSanityDamage(float afAmount, bool abUseEffect);