def addMessage(tag, tValues=(), ePlayer=None, eColor=eWhite, tCoords=(-1, -1)):
"""
Adds the tag (string) message to the game in eColor. (The default color is eWhite
and the other preset pointers to valid ColorTypes are eRed and eGreen.) If
the tag argument requires other values to be inserted in the message, then these can
be supplied with the optional tValues (tuple) argument. The ePlayer (integer)
argument can be supplied to prevent the message from being transmitted if it
references some other PlayerType than the human player's. The optional tCoords
(tuple) argument is set to a pair of default -1 values that indicate that no arrow
should accompany the text message. (Valid map tile coordinates will enable the arrow.)
"""
pHumanCiv = getHuman()
if ePlayer != None and instance(ePlayer) != pHumanCiv: return
eHuman = pHumanCiv.get(playerID)
message = Translator.getText(tag, tValues)
bArrow = tCoords != (-1, -1)
Interface.addMessage(eHuman, True, 20, message, "", eMinorEvent, "", eColor, tCoords[0], tCoords[1], bArrow, bArrow)