mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Update Controllable.lua
- Fixed wrong id of task`EnrouteTaskEngageGroup` - Fixed wrong id of task `EnrouteTaskFAC_EngageGroup`
This commit is contained in:
parent
5e20874dca
commit
6a05789db5
@ -1790,24 +1790,8 @@ end
|
|||||||
-- @return DCS#Task The DCS task structure.
|
-- @return DCS#Task The DCS task structure.
|
||||||
function CONTROLLABLE:EnRouteTaskEngageGroup( AttackGroup, Priority, WeaponType, WeaponExpend, AttackQty, Direction, Altitude, AttackQtyLimit )
|
function CONTROLLABLE:EnRouteTaskEngageGroup( AttackGroup, Priority, WeaponType, WeaponExpend, AttackQty, Direction, Altitude, AttackQtyLimit )
|
||||||
|
|
||||||
-- EngageControllable = {
|
|
||||||
-- id = 'EngageControllable ',
|
|
||||||
-- params = {
|
|
||||||
-- groupId = Group.ID,
|
|
||||||
-- weaponType = number,
|
|
||||||
-- expend = enum AI.Task.WeaponExpend,
|
|
||||||
-- attackQty = number,
|
|
||||||
-- directionEnabled = boolean,
|
|
||||||
-- direction = Azimuth,
|
|
||||||
-- altitudeEnabled = boolean,
|
|
||||||
-- altitude = Distance,
|
|
||||||
-- attackQtyLimit = boolean,
|
|
||||||
-- priority = number,
|
|
||||||
-- }
|
|
||||||
-- }
|
|
||||||
|
|
||||||
local DCSTask = {
|
local DCSTask = {
|
||||||
id = 'EngageControllable',
|
id = 'EngageGroup',
|
||||||
params = {
|
params = {
|
||||||
groupId = AttackGroup:GetID(),
|
groupId = AttackGroup:GetID(),
|
||||||
weaponType = WeaponType,
|
weaponType = WeaponType,
|
||||||
@ -1923,7 +1907,7 @@ end
|
|||||||
function CONTROLLABLE:EnRouteTaskFAC_EngageGroup( AttackGroup, Priority, WeaponType, Designation, Datalink, Frequency, Modulation, CallsignID, CallsignNumber )
|
function CONTROLLABLE:EnRouteTaskFAC_EngageGroup( AttackGroup, Priority, WeaponType, Designation, Datalink, Frequency, Modulation, CallsignID, CallsignNumber )
|
||||||
|
|
||||||
local DCSTask = {
|
local DCSTask = {
|
||||||
id = 'FAC_EngageControllable',
|
id = 'FAC_EngageGroup',
|
||||||
params = {
|
params = {
|
||||||
groupId = AttackGroup:GetID(),
|
groupId = AttackGroup:GetID(),
|
||||||
weaponType = WeaponType or "Auto",
|
weaponType = WeaponType or "Auto",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user