DCS: Mission Editor. Smart Defences Part2 (Detection)
Автор: Pukin Dog
Загружено: 2022-04-09
Просмотров: 1369
Описание:
This video shows how to use EWR and AWACS...(and also visual detection) to integrate with SAM defences such that SAM sites can remain offline until a threat is within range making them far more danerous and less susceptible to SEAD/DEAD aircraft.
Intro 0:00
Demo 1:56
Mission Editor 5:52
Slight correctoin to part of the script....the else statement was invalid...but I am not actually using that anyway
Script should be as follows
local DetectingUnit = Unit.getByName('EWR-1')
local TargetUnit1 = Unit.getByName('Player-1')
local TargetUnit2 = Unit.getByName('Harrier2-1')
local TargetUnit3 = Unit.getByName('Harrier3-1')
if Unit.getByName('Player-1'):isExist() then
if Controller.isTargetDetected(DetectingUnit , (TargetUnit1 or TargetUnit2 or TargetUnit3) , Radar) == true then
trigger.action.setUserFlag( "1", false )
trigger.action.setUserFlag( "4", true )
else
trigger.action.outText("not Detected", 10)
end
else
end
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: