On_console_message_sent event handler

Suggestions that have been added to the game.

Moderator: ickputzdirwech

Post Reply
apriori
Filter Inserter
Filter Inserter
Posts: 259
Joined: Thu Feb 18, 2016 8:13 pm
Contact:

On_console_message_sent event handler

Post 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.
Any code or mods posted by me are WTFPL, unless otherwise copyrights are specified.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: On_console_message_sent event handler

Post by ssilk »

For the mods setup they planed an interface somehow.


Edit: see viewtopic.php?f=6&t=25129
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Post Reply

Return to “Implemented Suggestions”