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



Elevator help - goodcap - 07-14-2014

Okay, so i'm working on an elevator. I have most of the things set up. I know how to make it go up. But for some reason my elevator won't go down.


I was wondering if any of you know how to script this.


thx


RE: Elevator help - Mudbill - 07-14-2014

Just use the SetMoveObjectState using a value in the other direction. If your object is set to the Y axis (up and down), then using 1 should move it down and -1 move it up.