Vertical 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: Vertical door (/thread-22268.html) |
Vertical door - User01 - 07-29-2013 I have absolutely no idea how to use vertical doors in Amnesia. I guess the safety_normal doors could be useful for this. I want to do that if the player goes trough door frame, the door should fall down. Help. RE: Vertical door - Your Computer - 07-30-2013 Vertical doors are normally move objects, which you would use SetMoveObjectState or SetMoveObjectStateExt on. RE: Vertical door - Artyom - 07-30-2013 Easily done with basic coding. My best tip is to make a level and just experiment with basic coding. That's what I do, and when there's something I don't understand I just go to the wiki. RE: Vertical door - User01 - 07-30-2013 (07-30-2013, 01:18 AM)Your Computer Wrote: Vertical doors are normally move objects, which you would use SetMoveObjectState or SetMoveObjectStateExt on. I tried it but the door just goes down trough the ground. It ignores it. I need help with the script. RE: Vertical door - Your Computer - 07-30-2013 (07-30-2013, 07:03 AM)User01 Wrote: I tried it but the door just goes down trough the ground. It ignores it. I need help with the script. Then put the door higher in the level editor. RE: Vertical door - User01 - 07-30-2013 (07-30-2013, 09:22 AM)Your Computer Wrote:I see. First of all, it's way to slow and also it loops (goes up again). What do?(07-30-2013, 07:03 AM)User01 Wrote: I tried it but the door just goes down trough the ground. It ignores it. I need help with the script. RE: Vertical door - Your Computer - 07-30-2013 You can manually adjust its speed with SetMoveObjectStateExt. As for why it goes up again, you probably have a bug in your code, or something, that causes it to open after closing. |