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



SetSwingDoorClosed - Hooumeri - 03-13-2011

How can I open doors, like in the beginning of Amnesia..?
I tried the SetSwingDoorClosed command, but it doesnt do a thing. Then I copyed the script from rainy halls .hps file, still no change. The door just jammed and wouldnt budge. Basically only thing different with the script was this:

void SetSwingDoorDisableAutoClose(string& asName, bool abDisableAutoClose);

DisableAutoClose was at true. Any help appreciated..

Another problem I'm having is that I can't find a way to set doors active/disactive. SetEntityActive doesnt work for doors..


RE: SetSwingDoorClosed - Linus Ă…gren - 03-13-2011

Well, for slow openings, refer to my thread: http://www.frictionalgames.com/forum/thread-6624.html

For fast openings, like someone hit the door, use AddPropImpulse.