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

This is the place to share custom user maps, scenarios, and campaigns.
Post Reply
User avatar
WIZ4
Fast Inserter
Fast Inserter
Posts: 209
Joined: Thu Apr 07, 2016 1:36 pm
Contact:

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

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

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

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

Post 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

Post Reply

Return to “Maps and Scenarios”