how do i make a door open, without the player needing to touch it?
Examples pleaaaz?
SetSwingDoorClosed(string& asName, bool abClosed, bool abEffects);
alriiight, ill test it
but i thought it was
int GetSwingDoorState(string& asName);Returns an integer depending on how far the door is opened.
-1 = angle is close to 0°, 1 = angle is 70% or higher of max, 0 = inbetween -1 and 1.
Nope. That checks whether or not a door is opened or closed and you can use it to run functions only if the door is closed, for example.