Page 1 of 1

On_console_message_sent event handler

Posted: Thu Aug 25, 2016 10:54 pm
by apriori

Code: Select all

script.on_event(defines.events.on_console_message_sent, function(event)
  event.player_index
  event.text
end
I've played Factorio in multiplayer just 3 times, 1hr each. And I don't know if there's any chat. And local achievements are also turned off if any console command is executed - it's impossible to set up some mods in-game without having local achievements locked. Using suggested event we could realize good chat (colored text, private messages, public or team chat) and setting up mods.

Re: On_console_message_sent event handler

Posted: Fri Aug 26, 2016 7:46 am
by ssilk
For the mods setup they planed an interface somehow.


Edit: see viewtopic.php?f=6&t=25129