Constant Combinator On/Off switch
-
- Filter Inserter
- Posts: 304
- Joined: Fri Mar 18, 2016 4:34 pm
- Contact:
Constant Combinator On/Off switch
I'd like to be able to read/set the On/Off switch on a constant combinator via lua. This would allow me to make a "pushbutton" mod that emits single-tick pulses of the configured signal when pressed via a hotkey.
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
Re: Constant Combinator On/Off switch
Does the recently added enabled/disabled property of entities handle this?
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
-
- Filter Inserter
- Posts: 304
- Joined: Fri Mar 18, 2016 4:34 pm
- Contact:
Re: Constant Combinator On/Off switch
RSeding told me on IRC that it's not currently possible. Also, LuaEntity does not appear to have enabled/disabled?aubergine18 wrote:Does the recently added enabled/disabled property of entities handle this?
Re: Constant Combinator On/Off switch
added for 0.13.18.
If you want to get ahold of me I'm almost always on Discord.
-
- Filter Inserter
- Posts: 304
- Joined: Fri Mar 18, 2016 4:34 pm
- Contact:
Re: Constant Combinator On/Off switch
Thanks!Rseding91 wrote:added for 0.13.18.