Door Pull Chain
Door Pull Chain
I would like to trigger something when a door pull chain is pulled. Is this possible and if so how would you go about this. With all this component business I would think there has to be a way to do this.
Re: Door Pull Chain
Pull chains are ordinary objects, just look at their definitions in the asset pack. You can easily add a connector to the PullChainComponent although you will need to do so dynamically with PullChainComponent:addConnector() rather than using the '+' button in the editor.
Last edited by minmay on Wed Feb 10, 2016 1:36 am, edited 1 time in total.
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: Door Pull Chain
Most easiest way would be to give a door the pullchain not by checking the box in it's editor-entry but by using the single pullchain-lever-object. With that you can choose everything that should be triggered by the pullchain like you could do with every other lever also.
EDIT: minmay was faster...
EDIT: minmay was faster...
Re: Door Pull Chain
Thanks guys! Once again you have helped me through the fog.