Page 1 of 1
How to temporarily disable player actions?
Posted: Sun Jan 28, 2018 3:07 pm
by Gergely
I need a short script to make all players temporarily unable to interact with anything but their inventory, crafting queue, and gui. That is, without assigning them to another force or character. Can someone help me with this? I am out of ideas.
Re: How to temporarily disable player actions?
Posted: Mon Jan 29, 2018 12:39 am
by eradicator
Create a new permissions group and assign them to that. Assign them back to their old groups when finished?
http://lua-api.factorio.com/latest/LuaP ... roups.html
You can also use /permissions ingame to get an overview over possible actions.