// used to switch off or on support_comms depending on enemy occupation of tower (west_commsmast) near base

_factor = _this select 0;

if (_factor ==0) then
//decrease
{
	EGG_EVO_supportcomms = 0;
	publicVariable "EGG_EVO_supportcomms";
    	[West,"HQ"] sidechat "Crossroad communications is OFFLINE, check the communications mast";
} else 
//increase
{
	playSound "Goodjob";
	EGG_EVO_supportcomms = 1;
	publicVariable "EGG_EVO_supportcomms";
    	[West,"HQ"] sidechat "Crossroad communications is ONLINE, press U for support";
};

