This commit is contained in:
Frank
2020-03-14 02:03:20 +01:00
parent fd7827c264
commit e147a4c604
7 changed files with 176 additions and 105 deletions
+39 -5
View File
@@ -2,19 +2,34 @@
--
-- See the [Simulator Scripting Engine Documentation](https://wiki.hoggitworld.com/view/Simulator_Scripting_Engine_Documentation) on Hoggit for further explanation and examples.
--
-- @module DCS
-- @module ENUMS
-- @image MOOSE.JPG
--- [DCS Enum world](https://wiki.hoggitworld.com/view/DCS_enum_world)
-- @type ENUMS
-- @field #ENUMS.ROE Rules Of Engagement.
-- @field #ENUMS.ROT Reation On Threat.
-- @field #ENUMS.WeaponFlag Weapon flags.
--- The world singleton contains functions centered around two different but extremely useful functions.
-- * Events and event handlers are all governed within world.
-- * A number of functions to get information about the game world.
--
-- See [https://wiki.hoggitworld.com/view/DCS_singleton_world](https://wiki.hoggitworld.com/view/DCS_singleton_world)
-- @field #ENUMS
ENUMS = {}
--- Rules of Engagement.
-- @type ENUMS.ROE
ENUMS.ROE = {
HoldFire = 1,
ReturnFire = 2,
OpenFire = 3,
WeaponFree = 4
}
--- Reaction On Thrat.
-- @type ENUMS.ROT
ENUMS.ROT = {
NoReaction = 1,
PassiveDefense = 2,
@@ -22,10 +37,10 @@ ENUMS.ROT = {
Vertical = 4
}
--- Weapon types
-- @type ENUMS.WeaponFlag
ENUMS.WeaponFlag={
-- Auto
Auto=1073741822,
-- Bombs
Auto=1073741822, --Auto
LGB=2,
TvGB=4,
SNSGB=8,
@@ -46,4 +61,23 @@ ENUMS.WeaponFlag={
CandleRocket=8192,
HeavyRocket=16384,
AnyRocket=30720 -- (LightRocket + MarkerRocket + CandleRocket + HeavyRocket)
}
ENUMS.MissionTask={
NOTHING="Nothing",
AFAC="AFAC",
ANTISHIPSTRIKE="Anti-ship Strike",
AWACS="AWACS",
CAP="CAP",
CAS="CAS",
ESCORT="Escort",
FIGHTERSWEEP="Fighter Sweep",
GROUNDATTACK="Ground Attack",
INTERCEPT="Intercept",
PINPOINTSTRIKE="Pinpoint Strike",
RECONNAISSANCE="Reconnaissance",
REFUELING="Refueling",
RUNWAYATTACK="Runway Attack",
SEAD="SEAD",
TRANSPORT="Transport",
}