mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
21 lines
669 B
Lua
21 lines
669 B
Lua
|
|
-- Only use Include.File when developing new MOOSE classes.
|
|
-- When using Moose.lua in the DO SCIPTS FILE initialization box,
|
|
-- these Include.File statements are not needed, because all classes within Moose will be loaded.
|
|
Include.File("MissileTrainer")
|
|
|
|
-- This is an example of a global
|
|
local Trainer = MISSILETRAINER
|
|
:New( 200 )
|
|
:InitMessagesOnOff(true)
|
|
:InitAlertsToAll(true) -- I'll correct it below ...
|
|
:InitAlertsHitsOnOff(true)
|
|
:InitAlertsLaunchesOnOff(false)
|
|
:InitBearingOnOff(true)
|
|
:InitRangeOnOff(true)
|
|
:InitTrackingOnOff(true)
|
|
:InitTrackingToAll(true)
|
|
:InitMenusOnOff(false)
|
|
|
|
--Trainer:InitAlertsToAll(true) -- Now alerts are also on
|