Frictional Games Forum (read-only)
[SCRIPT] Door - 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] Door (/thread-11280.html)

Pages: 1 2 3


RE: Door - flamez3 - 11-21-2011

(11-20-2011, 05:06 PM)Statyk Wrote: Honestly, I hope you get this working because I have the SAME problem you do. My door does NOT want to open, no matter what I script (I'm almost abandoning the idea). When I script this, the door jerks like it WANTS to open, but it IMMEDIATELY shuts within one frame of a second. =\ You're not alone on this boat.
Maybe make it so that autoclose is turned off for that door?

SetSwingDoorDisableAutoClose(string& asName, bool abDisableAutoClose);



RE: Door - Statyk - 11-22-2011

(11-21-2011, 07:47 AM)flamez3 Wrote: Maybe make it so that autoclose is turned off for that door?

SetSwingDoorDisableAutoClose(string& asName, bool abDisableAutoClose);
Yes, but don't be surprised if it doesn't work... >> I can never get this script to work. I don't know how people are able to do this script




RE: Door - flamez3 - 11-22-2011

(11-22-2011, 12:35 AM)Statyk Wrote:
(11-21-2011, 07:47 AM)flamez3 Wrote: Maybe make it so that autoclose is turned off for that door?

SetSwingDoorDisableAutoClose(string& asName, bool abDisableAutoClose);
Yes, but don't be surprised if it doesn't work... >> I can never get this script to work. I don't know how people are able to do this script


I've used it once and I couldn't tell if it worked or not. (Mainly because I haven't tested it). Post your script that isn't working?


RE: Door - Statyk - 11-22-2011

(11-22-2011, 11:17 AM)flamez3 Wrote: I've used it once and I couldn't tell if it worked or not. (Mainly because I haven't tested it). Post your script that isn't working?
I completely removed it from my .hps, I gave up on it awhile ago and came up with a better solution to just destroy the door in an explosion =P