Question about buttons/disableSelf

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
Decayer
Posts: 65
Joined: Sat Oct 13, 2012 3:19 pm

Question about buttons/disableSelf

Post by Decayer »

Does the disableSelf option for buttons even do anything? It seems like they'll trigger their connectors with every press whether disableSelf is on or off.
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: Question about buttons/disableSelf

Post by NutJob »

If you're doing with a script it's:

Code: Select all

name_of_your_button.clickable:disable()
other wise, yes, the disableSelf flag does work (last time I used it).
Decayer
Posts: 65
Joined: Sat Oct 13, 2012 3:19 pm

Re: Question about buttons/disableSelf

Post by Decayer »

NutJob wrote:other wise, yes, the disableSelf flag does work (last time I used it).
It works for levers, but not for buttons. Mysterious...
Post Reply