Frictional Games Forum (read-only)

Full Version: What's the deal with SetSwingDoorDisableAutoClose and SetMoveObjectStateExt?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.