03-03-2013, 11:58 AM
hi
i need to open a door dynamicaly using propforce
the thing is, SetSwingDoorDisableAutoClose does not work.
i see the door going berserk because the high force, but it does not stay open.
when i try open the door a bit manualy the door auto-closes, too.
i am using the standard mansion door
i need to open a door dynamicaly using propforce
the thing is, SetSwingDoorDisableAutoClose does not work.
Code:
[...]
SetSwingDoorDisableAutoClose("door", true);
SetSwingDoorLocked("door", false, true);
AddTimer("",2,"asd");
[...]
void asd(string &in asTimer){
AddPropForce("door", 10000, 0, 0, "world");
}
i see the door going berserk because the high force, but it does not stay open.
when i try open the door a bit manualy the door auto-closes, too.
i am using the standard mansion door