Custom log messages

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
User avatar
Hestia
Posts: 22
Joined: Tue Feb 28, 2017 10:11 am

Custom log messages

Post by Hestia »

Just a quick question: is it possible to customize messages that appear in the log window? (e.g. "Event X has been fired")

Thank you!
Cik
Posts: 671
Joined: Wed Oct 05, 2016 3:22 am

RE: Custom log messages

Post by Cik »

you can turn off events showing up in the log in the log itself.

you can also turn off popups or even the messages displaying in game ---> game options ---> message log
User avatar
Hestia
Posts: 22
Joined: Tue Feb 28, 2017 10:11 am

RE: Custom log messages

Post by Hestia »

Thank you, Cik, but that I already know. I don't mind seeing the messages I just wonder if they can be customized.
User avatar
Randomizer
Posts: 1518
Joined: Sat Jun 28, 2008 8:31 pm

RE: Custom log messages

Post by Randomizer »

Messages are generally created by the scenario author. If you want to customize or edit them, use the editor and the "Edit Actions" function in the event editor. I suppose that you could do this while playing a scenario in the editor mode but cannot discern why this might be a good thing to do.

-C
mikmykWS
Posts: 7185
Joined: Tue Mar 22, 2005 4:34 pm

RE: Custom log messages

Post by mikmykWS »

There a few ways you could do this

1)There is an action in the event editor called message. The creates a popup and it's written to the log.
2)There are a couple of lua ways to do this. Hvaen't tested but this function might: https://commandlua.github.io/beta/index ... dit_MsgBox

Thanks

Mike
User avatar
Hestia
Posts: 22
Joined: Tue Feb 28, 2017 10:11 am

RE: Custom log messages

Post by Hestia »

Thank you, Mike!

That is closer to what I intend to achive. I'll try ScenEdit_MsgBox function.
Post Reply

Return to “Tech Support”