mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
- Removed the old classes and moved into an "Old" folder in the Moose/Development folder. -- Cleaned Moose.lua + Documented class types -- Cleaned Create_Moose.bat + Documented class types - Extend the ZONE_BASE class with a probability randomization factor, that can be used for zone randomization purposes. - Documented the Zone module classes. - Changed and removed the POINT_VEC3 SmokeColor and FlareColor structure. Replaced with SMOKECOLOR and FLARECOLOR types. -- Replaced also code in test missions with SMOKECOLOR and FLARECOLOR references. - Renamed UnControlled() method to InitUnControlled method.
26 lines
517 B
Lua
26 lines
517 B
Lua
--- A NOTASK is a dummy activity... But it will show a Mission Briefing...
|
|
-- @module NOTASK
|
|
|
|
--- The NOTASK class
|
|
-- @type
|
|
NOTASK = {
|
|
ClassName = "NOTASK",
|
|
}
|
|
|
|
--- Creates a new NOTASK.
|
|
function NOTASK:New()
|
|
local self = BASE:Inherit( self, TASK:New() )
|
|
self:F()
|
|
|
|
local Valid = true
|
|
|
|
if Valid then
|
|
self.Name = 'Nothing'
|
|
self.TaskBriefing = "Task: Execute your mission."
|
|
self.Stages = { STAGEBRIEF:New(), STAGESTART:New(), STAGEDONE:New() }
|
|
self.SetStage( self, 1 )
|
|
end
|
|
|
|
return self
|
|
end
|