Page 14 of 14

Re: Beta 2.1.18

Posted: Fri Feb 06, 2015 9:24 am
by Isaac
minmay wrote:That solution won't work if you want the user to see or interact with the door, or if you want to close the door instead of opening it, or a bunch of other things.
I wouldn't... I would only use setDoorState() where the player could never see the door suddenly open, but where I did not want to destroy the door; perhaps wanting to close it again.

*Specifically I would use it on secret doors used as walls. Any normal door that opened I would likely want it to be heard, or not care if it was.
I've been told that setDoorState() is only used to set the initial state of the doors when the map loads.

What function did you see that did not work, prior to yours ~labeled that does?

Re: Beta 2.1.18

Posted: Fri Feb 06, 2015 9:45 am
by minmay
That comment refers to the builtin setDoorState().