
; Set other building buttons to busy


	_selector = _this select 0
	_left = _this select 1
	_idc = _this select 2
	
	_base = 105
	_max = 3
	? !_left : _base=112; _max = 7

	
	_array = []
	_i = 0
	? !_left : _i=4
	#FillArray
	_array = _array + [(_base + 14 * _i)]
	? _i < _max : _i=_i+1; goto "FillArray"
	
	
	
	
	_i = 0
	? !_left : _i=4
	_j=0
	
	#SetStatus1
	? _i == _selector : goto "Skip1"
	
		_ID = _base + 14 * _j
		_textID = _ID-1
		
		? SIDEBAR && ctrlText _textID != ""  : ctrlShow [_ID, true]
		ctrlSetText [_ID, ""]
		STATUS set [_i, 1]
	
	#Skip1
	? _i < _max : _i=_i+1; _j=_j+1; goto "SetStatus1"
	
	

	
	
	
	
	@(STATUS select _selector) == 0
	
	_i = 0
	? !_left : _i=4
	_j=0
	#SetStatus2
	? _i == _selector : goto "Skip2"
	
		_ID = _base + 14 * _j
		ctrlShow [_ID, false]
		STATUS set [_i, 0]
	
	#Skip2
	? _i < _max : _i=_i+1; _j=_j+1; goto "SetStatus2"
	

	