Close Equipment / Inventory window

Place to get help with not working mods / modding interface.
Mephi
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Jun 01, 2019 8:09 pm
Contact:

Close Equipment / Inventory window

Post by Mephi »

Hi

Is there any way for a mod to close equipment/inventory window? I've tried Gui functions without any luck, any ideas?

Many Thanks,
Mephi
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Close Equipment / Inventory window

Post by eradicator »

LuaPlayer.opened = nil
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Post Reply

Return to “Modding help”