Frictional Games Forum (read-only)
[SCRIPT] How do i set a door to close by it self... - 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: [SCRIPT] How do i set a door to close by it self... (/thread-18419.html)



How do i set a door to close by it self... - danimora2012 - 09-19-2012

The title says it...
Also..if you reply...show an example please...
Thank you...









[Image: ZGgVb0gdU0-AaqWGSUktzg2.gif]


RE: How do i set a door to close by it self... - Obliviator27 - 09-19-2012

SetSwingDoorClosed("Doorname", true, true);

This will close the door specified.


RE: How do i set a door to close by it self... - danimora2012 - 09-19-2012

(09-19-2012, 11:25 PM)Obliviator27 Wrote: SetSwingDoorClosed("Doorname", true, true);

This will close the door specified.
Ye but only when he enters and the door slams shut...and he get's locked inside