mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Updates
- MESSAGE class finished and now properly documented. Changed New() function API. - Reworked Include.File lines. No Include.File line anymore in the Modules. All included in Moose.lua for dynamic loading.
This commit is contained in:
@@ -2,10 +2,6 @@
|
||||
-- @module routines
|
||||
-- @author Flightcontrol
|
||||
|
||||
--Include.File( "Trace" )
|
||||
--Include.File( "Message" )
|
||||
|
||||
|
||||
env.setErrorMessageBoxEnabled(false)
|
||||
|
||||
--- Extract of MIST functions.
|
||||
@@ -2310,19 +2306,19 @@ end
|
||||
function MessageToAll( MsgText, MsgTime, MsgName )
|
||||
--trace.f()
|
||||
|
||||
MESSAGE:New( MsgText, "Message", MsgTime, MsgName ):ToCoalition( coalition.side.RED ):ToCoalition( coalition.side.BLUE )
|
||||
MESSAGE:New( MsgText, MsgTime, "Message" ):ToCoalition( coalition.side.RED ):ToCoalition( coalition.side.BLUE )
|
||||
end
|
||||
|
||||
function MessageToRed( MsgText, MsgTime, MsgName )
|
||||
--trace.f()
|
||||
|
||||
MESSAGE:New( MsgText, "To Red Coalition", MsgTime, MsgName ):ToCoalition( coalition.side.RED )
|
||||
MESSAGE:New( MsgText, MsgTime, "To Red Coalition" ):ToCoalition( coalition.side.RED )
|
||||
end
|
||||
|
||||
function MessageToBlue( MsgText, MsgTime, MsgName )
|
||||
--trace.f()
|
||||
|
||||
MESSAGE:New( MsgText, "To Blue Coalition", MsgTime, MsgName ):ToCoalition( coalition.side.RED )
|
||||
MESSAGE:New( MsgText, MsgTime, "To Blue Coalition" ):ToCoalition( coalition.side.RED )
|
||||
end
|
||||
|
||||
function getCarrierHeight( CarrierGroup )
|
||||
|
||||
Reference in New Issue
Block a user