[SOLVED] Opening/Closing Cabinets in the Script? - 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: [SOLVED] Opening/Closing Cabinets in the Script? (/thread-13153.html) |
[SOLVED] Opening/Closing Cabinets in the Script? - Strembitsky - 02-07-2012 I am trying to open a cabinet in my level using a script area. Currently, I am using this: Code: SetSwingDoorClosed("cabinet_nice_1", true, true); for opening, and this: Code: SetSwingDoorClosed("cabinet_nice_1", false, true); for closing. They both don't work. Assistance? EDIT: Nevermind, I'm an idiot. EDIT2: Only closing works. How could I get it to open? RE: Opening/Closing Cabinets in the Script? - Your Computer - 02-07-2012 (02-07-2012, 01:08 AM)Strembitsky Wrote: EDIT2: Only closing works. How could I get it to open? Should work the same as swing doors without a base: http://www.youtube.com/watch?v=VSZ_uWz-PeM&list=PLD326789BC99530C8&index=16 |