Code: Select all
add_custom_alert(entity, icon, message, show_on_map)
Adds a custom alert to this player.
Parameters
entity :: LuaEntity
icon :: SignalID
message :: LocalisedString
show_on_map :: boolean
I put whatever entity to it and still works without noticeable difference.