Hello everybody!
I've got a problem with the opening of a specific door. I want it to open slowly and creepy, but it doesn't open at all
Well, when I trigger the script ingame, i can hear the "door-touch-sound"
You now what I mean, the sound that plays when you just touch the door, but don't move it. What is wrong?
void OnStart()
{
AddEntityCollideCallback("Player","door_open","dooropen",true,1);
}
void dooropen(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorDisableAutoClose("door4", true);
SetSwingDoorClosed("door4", false, true);
AddPropForce("door4",-600,-600,-600,"world");
}
Thank you!