[Solved] DoorComponent.setPullchainObject() does not work
[Solved] DoorComponent.setPullchainObject() does not work
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.
Last edited by MrChoke on Tue Mar 17, 2015 3:29 am, edited 1 time in total.
Re: BUG: DoorComponent.setPullchainObject() does not work
It works fine for me. Obviously you have to call DoorComponent:setPullChain() afterwards for it to have any effect.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Re: BUG: DoorComponent.setPullchainObject() does not work
Just coming back to the forum to delete this post. Yup, that was the problem.minmay wrote:It works fine for me. Obviously you have to call DoorComponent:setPullChain() afterwards for it to have any effect.