Stratos Posted June 25, 2020 Posted June 25, 2020 Is possible somehow to remove all buildings and trees from an area in order to make a clear? Need to clear a big area of any map 3d object. Is there any way to do this? Thanks! I don't understand anything in russian except Davai Davai!
Rudel_chw Posted June 25, 2020 Posted June 25, 2020 WFB9YOokt6Q For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Stratos Posted June 25, 2020 Author Posted June 25, 2020 This is wonderful!! Thanks a lot! I don't understand anything in russian except Davai Davai!
iFoxRomeo Posted June 25, 2020 Posted June 25, 2020 Unfortunately this works in SP only. Spoiler PC Specs: Ryzen 9 5900X, 3080ti, 64GB RAM, Oculus Quest 3
sunski34 Posted June 27, 2020 Posted June 27, 2020 yes and this functionnality cannot be scripted :(:( This should be helpful for random helo missions clearing random areas. Sunski
GTFreeFlyer Posted June 27, 2020 Posted June 27, 2020 Why can't it be scripted? Try this... [font=Consolas]_myZone = 'town' --name of zone as defined in the mission editor[/font] [font=Consolas] local foundObjects = {} local sphere = trigger.misc.getZone(_myZone) local volS = { id = world.VolumeType.SPHERE, params = { point = sphere.point, radius = sphere.radius } } local ifFound = function(foundItem, val) foundItem:destroy()[/font] [font=Consolas] return true end [/font][font=Consolas] world.searchObjects(Object.Category.SCENERY, volS, ifFound)[/font] [font=Consolas] [/font] [font=Consolas] [/font] My DCS Missions: Band of Buds series | The End of the T-55 Era | Normandy PvP | Host of the Formation Flight Challenge server Supercarrier Reference Kneeboards IRL: Private Pilot, UAS Test Pilot, Aircraft Designer, and... eh hem... DCS Enthusiast
sunski34 Posted June 27, 2020 Posted June 27, 2020 Hi, I know that function.... but... when I tested it that a fews month ago, it didn't work... Only buildings where found, not trees. You 're sure that works now ? And we can find all scenery objects using that searchObjects function? I will try Sunski
sunski34 Posted June 27, 2020 Posted June 27, 2020 After testing, trees are not found by searchObjects function. Only building are found. Sunski
snowsniper Posted September 3, 2022 Posted September 3, 2022 the turnaround to script invisible farps in order to clean trees on an area, before spawning an object, seems to not working anymore. anyone have found a way to ? i7-10700KF CPU 3.80GHz - 32 GO Ram - - nVidia RTX 2070 - SSD Samsung EVO with LG TV screen 40" in 3840x2150 - cockpit scale 1:1 - MS FFB2 Joystick - COUGAR F16 throttle - Saitek Pro Flight Rudder Pedals
Recommended Posts