i am trying to avoid that as to in some of my script I have just one simple message like "%1 was Arrested.", and I dont want to create a publicVariableEventHandler just for that.
Although, is it possible to do one publicVariableEventhandler, and just have the server globalChat whatever is passed into it?
like:
message = [];
"message" addPublicVariableEventHandler
{
call compile format ["Server globalChat %1", (_this select 0)];
};
message = [format["%1 was arrested.", _civ]];
publicVariable "message";