Page 1 of 1

Quiet game.print

Posted: Mon Jan 14, 2019 8:10 am
by darkfrei
Can you please add flag for quiet print command? Something like

Code: Select all

game.print(string, {no_sound=true})
Or new function:

Code: Select all

game.quiet_print (string, color)

Re: Quiet game.print

Posted: Fri Dec 02, 2022 7:37 pm
by boernsen2
I'm also in need of this. Did you find any solution or workaround? (i.e. mute -> print -> unmute)

Re: Quiet game.print

Posted: Mon Oct 09, 2023 11:28 am
by boskid
Implemented for 1.1.93: print's second parameter will accept a PrintSettings where { sound = defines.print_sound.never } can be given.

Re: Quiet game.print

Posted: Fri Oct 27, 2023 10:17 am
by darkfrei
boskid wrote:
Mon Oct 09, 2023 11:28 am
Implemented for 1.1.93: print's second parameter will accept a PrintSettings where { sound = defines.print_sound.never } can be given.
Thanks! Also custom sound?
LuaGameScript.html#print
concepts.html#PrintSettings

Re: Quiet game.print

Posted: Fri Oct 27, 2023 2:26 pm
by curiosity
darkfrei wrote:
Fri Oct 27, 2023 10:17 am
Also custom sound?
viewtopic.php?f=28&t=109100

Re: Quiet game.print

Posted: Tue Nov 07, 2023 3:42 pm
by boskid
darkfrei wrote:
Fri Oct 27, 2023 10:17 am
Thanks! Also custom sound?
Implemented in 1.1.95 (PrintSettings::sound_path)