[Solved] Question about LuaPlayer::add_custom_alert()
Posted: Fri Feb 14, 2020 11:11 am
Want to ask what parameter entity in LuaPlayer::add_custom_alert does?
I know what other three do, but I have no idea what entity does (no description in doc).
I put whatever entity to it and still works without noticeable difference.
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.