Frictional Games Forum (read-only)

Full Version: how do i make a door open?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
could someone please help me make a door open by itself, without me needing to touch it. :L
SetSwingDoorClosed(string& asName, bool abClosed, bool abEffects);
SetSwingDoorDisableAutoClose(string& asName, bool abDisableAutoClose);
AddPropForce(string& asName, float afX, float afY, float afZ, string& asCoordSystem);

you might have to use all 3
i dunno know how to addprofforce tho, could you help me with that?
just make a script like an CollideCallBack and when you enter that script this happens:

Code:
SetSwingDoorClosed("DOOR NAME", false, true);

No need to add an PropForce XD.
I have same problem i want a door to be open without touch but i dont understand that script at all anyone that can help me out with it