I'm currently using the wood_panneling_secret_door_01_painting entity from MFP in my story, and attempting to use a lever to make it swing open. However, it seems like no matter what I do, I can't turn off AutoClose. Here's my current script:
void TimerPushCandle(string &in asTimer)
{
SetSwingDoorLocked("castle_4", false, false);
SetSwingDoorClosed("castle_4", false, false);
SetSwingDoorDisableAutoClose("castle_4", true);
AddBodyForce("castle_4_Body_door", 0.0f, 0.0f, 8000.0f, "world");
}
This script works on all my other doors, including MFP's secret_door02 entity. But when I run the script on this door, it unlocks but does not swing open. And when I swing it open and closed manually, it still auto-closes when it gets close enough to fully closed. Any help?