The "say" command has an easy way to do this, built in. Here is the command:
unit say ["speech name", distance it can be heard]
speech name is defined in the description.ext
the distance is a number which is the maximum # of meters away the player/camera can be and still have the titles show.
If you aren't using sound files though, then just use pablo's method.