delevero Posted June 10, 2018 Posted June 10, 2018 Hello I would like to see a new command/feature in the editor. Example i would like to be able to create a trigger that I can connect to example a radar or other units.. that can activate something when the unit see the enemy. Example mission I wold like to setup 1 zone. And then I like to insert 1 large radar. When bluefor is detected by the radar in the zone ( or by the radar ) then I would like a trigger to activate example my mig29 planes so they can startup and takeoff to intercept bluefor.
schurem Posted June 10, 2018 Posted June 10, 2018 Paging dr MBot, paging dr MBot! to the mission builder subforum please! paging dr MBot! (I'm curious how this is done too) I5 9600KF, 32GB, 3080ti, G2, PointCTRL
Weta43 Posted June 11, 2018 Posted June 11, 2018 Until it's there, can't you get a similar result with a zone the size of the radar coverage, and 'unit inside zone + unit's altitude > X m AGL &/or unit altitude > Y m ASL ' ? Cheers.
MBot Posted June 17, 2018 Posted June 17, 2018 If you are ready to use scripting, this can be achieved with the detection function: http://en.wiki.eagle.ru/wiki/Simulator_Scripting_Engine/DCS:_World/Part_2#Detection For example: local unit = Unit.getByName("Unit #001") if unit then local ctr = unit:getGroup():getController() local targets = ctr:getDetectedTargets() for t = 1, #targets do if targets[t].object then local objCat = targets[t].object:getCategory() if objCat == 1 then --object is a unit local desc = targets[t].object:getDesc() if desc.category == 0 or desc.category == 1 then --unit is an airplane or helicopter local target_point = targets[t].object:getPoint() --and so on... end end end end end
schurem Posted June 17, 2018 Posted June 17, 2018 Ok. Way over my head lol. But it does contain the information needed to get it done. Just need to learn a metric s-ton of other stuff before this makes sense to me. I5 9600KF, 32GB, 3080ti, G2, PointCTRL
Haukka81 Posted June 17, 2018 Posted June 17, 2018 Bumb for this Oculus CV1, Odyssey, Pimax 5k+ (i5 8400, 24gb ddr4 3000mhz, 1080Ti OC ) [sIGPIC][/sIGPIC]
Haukka81 Posted June 17, 2018 Posted June 17, 2018 FOund it , it was GAI , it was fc1 too i think. https://forums.eagle.ru/showthread.php?t=92577 Please get it back Oculus CV1, Odyssey, Pimax 5k+ (i5 8400, 24gb ddr4 3000mhz, 1080Ti OC ) [sIGPIC][/sIGPIC]
Recommended Posts