06-28-2012, 06:25 PM
Hey there all. I've got a small problem. I'm trying to do an event where a door slowly swings open. However, the player will likely interact with this door beforehand which might result it being "auto-closed". The script I have so far:
SetSwingDoorDisableAutoClose("crowbardoor", true);
AddPropForce("crowbardoor",-800,0,0,"world");
This only seems to work if the player has not interacted with the door in a way that would let it become auto-closed, which given the nature of the level, the player is likely to do.
Any idea on how to fix this? If anyone needs more info, I'd be happy to give it.
SetSwingDoorDisableAutoClose("crowbardoor", true);
AddPropForce("crowbardoor",-800,0,0,"world");
This only seems to work if the player has not interacted with the door in a way that would let it become auto-closed, which given the nature of the level, the player is likely to do.
Any idea on how to fix this? If anyone needs more info, I'd be happy to give it.