Frictional Games Forum (read-only)
shelf_secret_door moving in wrong direction - 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: shelf_secret_door moving in wrong direction (/thread-18867.html)



shelf_secret_door moving in wrong direction - craven7 - 10-20-2012

Hi

my shelf is moving in the wrong direction. Its moving in the direction of the red arrow, but it should move in the direction of the green one. I use SetMoveObjectState("shelfBlock", 1.0f), if I try -1.0f instead then it moves in the opposite direction of the red arrow.

So basically it's moving on the wrong axis, any way to change this?

[attachment=3448]


Thanks


RE: shelf_secret_door moving in wrong direction - Statyk - 10-20-2012

Have you opened it in Model Editor, gone to Edit > User Defined Variables, and checked the axis it moves on? You will have to save it as another .ent file.


RE: shelf_secret_door moving in wrong direction - craven7 - 10-20-2012

That did it, thanks!