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

Place to share custom user maps, scenarios and campaigns.

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

Postby 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?
User avatar
WIZ4
Long Handed Inserter
Long Handed Inserter
 
Posts: 60
Joined: Thu Apr 07, 2016 1:36 pm

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

Postby 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
User avatar
darkfrei
Filter Inserter
Filter Inserter
 
Posts: 710
Joined: Thu Nov 20, 2014 11:11 pm


Return to Maps and Scenarios

Who is online

Users browsing this forum: No registered users and 3 guests