Frictional Games Forum (read-only)
What's the deal with SetSwingDoorDisableAutoClose and SetMoveObjectStateExt? - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: What's the deal with SetSwingDoorDisableAutoClose and SetMoveObjectStateExt? (/thread-4441.html)



What's the deal with SetSwingDoorDisableAutoClose and SetMoveObjectStateExt? - MulleDK19 - 09-16-2010

This is headed directly towards FG.


I've tried using both SetSwingDoorDisableAutoClose and SetMoveObjectStateExt, and none of them seem to have any effect whatsoever.

I'd expect SetSwingDoorAutoClose would prevent doors from snapping when you close them.

But it still snaps.

And I expect SetMoveObjectStateExt would make my door swing to a certain position?

No effect whatsoever.

I've made sure the function is called using AddDebugMessage, and even used SetEntityActive on the very same door, and it does disappear, so I know the functions are called with the right parameters.



So my question is... Are the functions broken, or is this not what they're meant to do?


Thanks in advance.


RE: What's the deal with SetSwingDoorDisableAutoClose and SetMoveObjectStateExt? - Thomas - 09-16-2010

SetSwingDoorAutoClose works, make sure the that u have the right name and such (check log). Also, I think it is reset to true when the player interacts with the door.

SetMoveObjectStateExt is used on MoveObjects, which is a special entity. For example the door that u have turn a valve to open when facing the water lurker, or the doors close to Agrippa.