Added Media.AddChatLine to the new Lua API

Unmerged part of https://github.com/OpenRA/OpenRA/pull/5469.
I have the same issues with it as antares. It should probably replace print(), or at least be found in the global table.

On 2014-07-06, at 1:31 PM, "obrakmann" <notifications@github.com> wrote:

> In OpenRA.Mods.RA/Scripting/Global/MediaGlobal.cs:
> 
> > + * see COPYING.
> > + */
> > +#endregion
> > +
> > +using System.Drawing;
> > +
> > +namespace OpenRA.Scripting
> > +{
> > +	[ScriptGlobal("Media")]
> > +	public class MediaGlobal : ScriptGlobal
> > +	{
> > +		public MediaGlobal(ScriptContext context) : base(context) { }
> > +
> > +		public void AddChatLine(string text)
> > +		{
> > +			Game.AddChatLine(Color.White, "Mission", text);
> Could you maybe change the colour and the prefix to be optional parameters? And possibly change the name (to Print, or PrintScreen or sth.)?
> 
> Otherwise 
> 
> \
> Reply to this email directly or view it on GitHub.