Frictional Games Forum (read-only)
[SOLVED] Destroying Doors - 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] Destroying Doors (/thread-6374.html)



[SOLVED] Destroying Doors - Linus Ågren - 01-25-2011

[SOLVED]

Question:
Well, is it possible to make the door get destroyed by scripting it? Like when the monsters slam it to pieces, but in a script instead?


RE: [Scripting Question] Destroying Doors - Tottel - 01-25-2011

Sure, just set the hitpoints to 0 using SetPropHealth();


RE: [Scripting Question] Destroying Doors - Linus Ågren - 01-25-2011

Thanks alot! Just what I wanted!