Closed frbyles closed 11 years ago
Rats.MinLockCount:Set[${Config.Locks}] Rats.AutoLock:Set[TRUE] Rats:RequestUpdate variable string ModuleToUse if ${Config.DroneControl} { ModuleToUse:Set[DroneControl.DroneTargets] } else { ModuleToUse:Set[Rats] } if ${${ModuleToUse}.LockedAndLockingTargetList.Used} { if ${Config.SpeedTank} &&\ ${Me.ToEntity.Mode} != 4 { ${ModuleToUse}.LockedAndLockingTargetList.Get[1]:Orbit[${Math.Calc[${Config.SpeedTankDistance}*1000+1000].Int}] } } if !${Entity[${CurrentTarget}](exists)} || (!${Entity[${CurrentTarget}].IsLockedTarget} && !${Entity[${CurrentTarget}].BeingTargeted}) { CurrentTarget:Set[-1] } else { FinishedDelay:Set[${Math.Calc[${LavishScript.RunningTime} + (10000)]}] if ${Ship.ModuleList_Weapon.ActiveCount} < ${Ship.ModuleList_Weapon.Count} { Ship.ModuleList_Weapon:ActivateCount[${Ship.ModuleList_Weapon.InactiveCount}, ${CurrentTarget}] return FALSE } if ${Ship.ModuleList_TargetPainter.ActiveCount} < ${Ship.ModuleList_TargetPainter.Count} { Ship.ModuleList_TargetPainter:ActivateCount[${Ship.ModuleList_TargetPainter.InactiveCount}, ${CurrentTarget}] return FALSE } if ${Ship.ModuleList_StasisWeb.ActiveCount} < ${Ship.ModuleList_StasisWeb.Count} { Ship.ModuleList_StasisWeb:ActivateCount[${Ship.ModuleList_StasisWeb.InactiveCount}, ${CurrentTarget}] return FALSE } } if ${${ModuleToUse}.LockedAndLockingTargetList.Used} && ${CurrentTarget.Equal[-1]} { if ${${ModuleToUse}.LockedAndLockingTargetList.Get[1](exists)} { CurrentTarget:Set[${${ModuleToUse}.LockedAndLockingTargetList.Get[1].ID}] UI:Update["Ratter", "Primary target: \ar${${ModuleToUse}.LockedAndLockingTargetList.Get[1].Name}", "g"] } } return FALSE }
}
}