; UAVs TACTIK Doctrine for DWX ver 1.32

VAR FATRANG

IF TgtID $= "HOSTILE" THEN {
	if AttackRng == 0 then {
		IF NOT FATRANG THEN {
;			FATRANG = 1
			SteerAbeam
		} ENDIF
	} elseif AttackRng < tgtrng then {
		SETPRIORITY 253 Intercept
	} else {
		SetCRS TgtBRG
		SETPRIORITY 253 attackbest
	} endif

} endif

IF TgtID $= "UPD" THEN {
	IF TgtType $= "Ship" THEN {
; DebugOuT "Steer_TO"
	SetPriority 255	SetAlt 35000
	SetSpd MaxSpd
	SteerTO
} ELSEIF TgtType $= "Sub" THEN {
	SetPriority 255	SetAlt 35000
	SetSpd 130
	SteerAbeam
; DebugOuT "Steer_A_Beam"
} Endif	
} Endif	
