Page 1 of 1

[Solved] DoorComponent.setPullchainObject() does not work

Posted: Mon Mar 16, 2015 11:43 pm
by MrChoke
This function does not seem to work. It takes a string, I assume the name of an object with a Pullchain component. No matter what I put, even a garbage name, it does not override the default pullchain.

Re: BUG: DoorComponent.setPullchainObject() does not work

Posted: Tue Mar 17, 2015 2:46 am
by minmay
It works fine for me. Obviously you have to call DoorComponent:setPullChain() afterwards for it to have any effect.

Re: BUG: DoorComponent.setPullchainObject() does not work

Posted: Tue Mar 17, 2015 3:28 am
by MrChoke
minmay wrote:It works fine for me. Obviously you have to call DoorComponent:setPullChain() afterwards for it to have any effect.
Just coming back to the forum to delete this post. Yup, that was the problem.