Jump to content

Export Radar Viewport does not work in 2Cameras.lua, 2Displays.lua, 3Cameras.lua


Recommended Posts

Posted

I have created a custom MonitorSetup lua file that controls my viewports that is modeled after the STOCK SAMPLE .lua files, like 2Cameras.lua, 2Displays.lua, 3Cameras.lua.

 

These samples use a DCS function called "Reconfigure_for_unit()" to allow the user to customize viewports for different aircraft in one lua file. This is a 'stock' DCS function, not something I came up with. But this does not work for the MiG-21Bis. :cry:

 

Is there any chance this will be fixed? :music_whistling:

 

-- MiG-21Bis RADAR VIEWPORT WORKS FINE OUTSIDE THE FUNCTION CALL:
RIGHT_MFCD = 
{
 x = 0;
 y = 0;
 width = 445;
 height = 445;
}
	

function reconfigure_for_unit(unit_type)
 if unit_type == 'MiG-21Bis' then	
 	-- [b]VIEWPORT DOESN'T WORK IN THIS FUNCTION CALL[/b], BUT ALL OTHER AIRCRAFT DO.
 	RIGHT_MFCD = 
 	{
 		 x = 0;
 		 y = 0;
 		 width = 445;
 		 height = 445;
 	}
 end
end

🍺 Snack Officer  🥨 
Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb
- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...