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

Place to share custom user maps, scenarios and campaigns.
Post Reply
User avatar
WIZ4
Fast Inserter
Fast Inserter
Posts: 161
Joined: Thu Apr 07, 2016 1:36 pm

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

Post by WIZ4 » Wed Aug 30, 2017 5:02 pm

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?
My native language is russian. Sorry if my messages are difficult to read.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 1518
Joined: Thu Nov 20, 2014 11:11 pm

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

Post by darkfrei » Wed Aug 30, 2017 5:15 pm

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

Post Reply

Return to “Maps and Scenarios”