Page 1 of 1

How do I add a list of players to the scenario?

Posted: Wed Aug 30, 2017 5:02 pm
by WIZ4
Is it possible to add to the scenario script a window with a list of players, and the time that they spent in the game?

Re: How do I add a list of players to the scenario?

Posted: Wed Aug 30, 2017 5:15 pm
by darkfrei
WIZ4 wrote:Is it possible to add to the scenario script a window with a list of players, and the time that they spent in the game?
Yes, you must make own GUI with this information.

http://lua-api.factorio.com/latest/LuaBootstrap.html
http://lua-api.factorio.com/latest/events.html

http://lua-api.factorio.com/latest/LuaGui.html
http://lua-api.factorio.com/latest/LuaGuiElement.html

http://lua-api.factorio.com/latest/LuaPlayer.html