diff --git a/Documentation/AI.AI_Air.html b/Documentation/AI.AI_Air.html index a5ae367ef..1fc5454d9 100644 --- a/Documentation/AI.AI_Air.html +++ b/Documentation/AI.AI_Air.html @@ -3350,28 +3350,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
Set destination airbase for next :Route() command.
- -Set destination airbase for next :Route() command.
- -Set destination airbase for next :Route() command.
- -Set destination airbase for next :Route() command.
- -meter
+kph
+meter
+kph
+meter
+kph
+meter
+kph
+Now we spawn the new group based on the template created.
+Set cargo object.
+Set cargo object.
+ -- Create the SetCarrier SET_GROUP collection.
- local SetHelicopter = SET_GROUP:New():FilterPrefixes( "Helicopter" ):FilterStart()
+ local SetHelicopter = SET_GROUP:New():FilterPrefixes("Helicopter"):FilterStart()
-- Put a Dead event handler on SetCarrier, to ensure that when a carrier is destroyed, that all internal parameters are reset.
- function SetHelicopter:OnAfterDead( From, Event, To, GroupObject )
- --self:F( { GroupObject = GroupObject:GetName() } )
+ function SetHelicopter:OnAfterDead(From, Event, To, GroupObject)
+ --self:F({ GroupObject = GroupObject:GetName() })
end
@@ -2258,15 +2258,15 @@ See the modified example:
-- Within that constructor, we want to set an enclosed event handler OnAfterDead for SetHelicopter.
-- But within the OnAfterDead method, we want to refer to the self variable of the AI_CARGO_DISPATCHER.
- function AI_CARGO_DISPATCHER:New( SetCarrier, SetCargo, SetDeployZones )
+ function AI_CARGO_DISPATCHER:New(SetCarrier, SetCargo, SetDeployZones)
- local self = BASE:Inherit( self, FSM:New() ) -- #AI_CARGO_DISPATCHER
+ local self = BASE:Inherit(self, FSM:New()) -- #AI_CARGO_DISPATCHER
-- Put a Dead event handler on SetCarrier, to ensure that when a carrier is destroyed, that all internal parameters are reset.
-- Note the "." notation, and the explicit declaration of SetHelicopter, which would be using the ":" notation the implicit self variable declaration.
- function SetHelicopter.OnAfterDead( SetHelicopter, From, Event, To, GroupObject )
- SetHelicopter:F( { GroupObject = GroupObject:GetName() } )
+ function SetHelicopter.OnAfterDead(SetHelicopter, From, Event, To, GroupObject)
+ SetHelicopter:F({ GroupObject = GroupObject:GetName() })
self.PickupCargo[GroupObject] = nil -- So here I clear the PickupCargo table entry of the self object AI_CARGO_DISPATCHER.
self.CarrierHome[GroupObject] = nil
end
@@ -2389,12 +2389,12 @@ See the following example:
-- Create the SetCarrier SET_OPSGROUP collection.
- local SetHelicopter = SET_OPSGROUP:New():FilterPrefixes( "Helicopter" ):FilterStart()
+ local SetHelicopter = SET_OPSGROUP:New():FilterPrefixes("Helicopter"):FilterStart()
-- Put a Dead event handler on SetCarrier, to ensure that when a carrier is destroyed, that all internal parameters are reset.
- function SetHelicopter:OnAfterDead( From, Event, To, GroupObject )
- --self:F( { GroupObject = GroupObject:GetName() } )
+ function SetHelicopter:OnAfterDead(From, Event, To, GroupObject)
+ --self:F({ GroupObject = GroupObject:GetName() })
end
@@ -2822,12 +2822,12 @@ See the following example:
-- Create the SetCarrier SET_UNIT collection.
- local SetHelicopter = SET_UNIT:New():FilterPrefixes( "Helicopter" ):FilterStart()
+ local SetHelicopter = SET_UNIT:New():FilterPrefixes("Helicopter"):FilterStart()
-- Put a Dead event handler on SetCarrier, to ensure that when a carrier unit is destroyed, that all internal parameters are reset.
- function SetHelicopter:OnAfterDead( From, Event, To, UnitObject )
- --self:F( { UnitObject = UnitObject:GetName() } )
+ function SetHelicopter:OnAfterDead(From, Event, To, UnitObject)
+ --self:F({ UnitObject = UnitObject:GetName() })
end
@@ -2840,15 +2840,15 @@ See the modified example:
-- Within that constructor, we want to set an enclosed event handler OnAfterDead for SetHelicopter.
-- But within the OnAfterDead method, we want to refer to the self variable of the AI_CARGO_DISPATCHER.
- function ACLASS:New( SetCarrier, SetCargo, SetDeployZones )
+ function ACLASS:New(SetCarrier, SetCargo, SetDeployZones)
- local self = BASE:Inherit( self, FSM:New() ) -- #AI_CARGO_DISPATCHER
+ local self = BASE:Inherit(self, FSM:New()) -- #AI_CARGO_DISPATCHER
-- Put a Dead event handler on SetCarrier, to ensure that when a carrier is destroyed, that all internal parameters are reset.
-- Note the "." notation, and the explicit declaration of SetHelicopter, which would be using the ":" notation the implicit self variable declaration.
- function SetHelicopter.OnAfterDead( SetHelicopter, From, Event, To, UnitObject )
- SetHelicopter:F( { UnitObject = UnitObject:GetName() } )
+ function SetHelicopter.OnAfterDead(SetHelicopter, From, Event, To, UnitObject)
+ SetHelicopter:F({ UnitObject = UnitObject:GetName() })
self.array[UnitObject] = nil -- So here I clear the array table entry of the self object ACLASS.
end
@@ -20042,7 +20042,7 @@ DatabaseSet = SET_AIRBASE:New()
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -38129,13 +38129,13 @@ Include inactive clients if you provide false.
ClientSet = SET_CLIENT:New():FilterActive():FilterStart()
-- Include only active clients to the set of the blue coalition, and filter one time.
-ClientSet = SET_CLIENT:New():FilterActive():FilterCoalition( "blue" ):FilterOnce()
+ClientSet = SET_CLIENT:New():FilterActive():FilterCoalition("blue"):FilterOnce()
-- Include only active clients to the set of the blue coalition, and filter one time.
-- Later, reset to include back inactive clients to the set.
-ClientSet = SET_CLIENT:New():FilterActive():FilterCoalition( "blue" ):FilterOnce()
+ClientSet = SET_CLIENT:New():FilterActive():FilterCoalition("blue"):FilterOnce()
... logic ...
-ClientSet = SET_CLIENT:New():FilterActive( false ):FilterCoalition( "blue" ):FilterOnce()
+ClientSet = SET_CLIENT:New():FilterActive(false):FilterCoalition("blue"):FilterOnce()
@@ -38371,7 +38371,7 @@ ClientSet = SET_CLIENT:New():FilterActive( false ):FilterCoalition( "blue" ):Fil
if client:GetPlayerName() == "Exclude Me" then isinclude = false end
return isinclude
end
- ):FilterOnce()
+ ):FilterOnce()
BASE:I(groundset:Flush())
@@ -39901,7 +39901,7 @@ DBObject = SET_CLIENT:New()
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -45413,7 +45413,7 @@ When moose is loading dynamically (for moose class development), tracing is swit
if dynamiccargo:GetName() == "Exclude Me" then isinclude = false end
return isinclude
end
- ):FilterOnce()
+ ):FilterOnce()
BASE:I(cargoset:Flush())
@@ -46784,7 +46784,7 @@ DBObject = SET_DYNAMICCARGO:New()
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -52769,13 +52769,13 @@ Include inactive groups if you provide false.
GroupSet = SET_GROUP:New():FilterActive():FilterStart()
-- Include only active groups to the set of the blue coalition, and filter one time.
-GroupSet = SET_GROUP:New():FilterActive():FilterCoalition( "blue" ):FilterOnce()
+GroupSet = SET_GROUP:New():FilterActive():FilterCoalition("blue"):FilterOnce()
-- Include only active groups to the set of the blue coalition, and filter one time.
-- Later, reset to include back inactive groups to the set.
-GroupSet = SET_GROUP:New():FilterActive():FilterCoalition( "blue" ):FilterOnce()
+GroupSet = SET_GROUP:New():FilterActive():FilterCoalition("blue"):FilterOnce()
... logic ...
-GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):FilterOnce()
+GroupSet = SET_GROUP:New():FilterActive(false):FilterCoalition("blue"):FilterOnce()
@@ -53130,7 +53130,7 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte
if grp:GetName() == "Exclude Me" then isinclude = false end
return isinclude
end
- ):FilterOnce()
+ ):FilterOnce()
BASE:I(groundset:Flush())
@@ -55009,7 +55009,7 @@ MySetGroup:SetCargoBayWeightLimit()
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -60613,13 +60613,13 @@ Include inactive groups if you provide false.
GroupSet = SET_OPSGROUP:New():FilterActive():FilterStart()
-- Include only active groups to the set of the blue coalition, and filter one time.
-GroupSet = SET_OPSGROUP:New():FilterActive():FilterCoalition( "blue" ):FilterOnce()
+GroupSet = SET_OPSGROUP:New():FilterActive():FilterCoalition("blue"):FilterOnce()
-- Include only active groups to the set of the blue coalition, and filter one time.
-- Later, reset to include back inactive groups to the set.
-GroupSet = SET_OPSGROUP:New():FilterActive():FilterCoalition( "blue" ):FilterOnce()
+GroupSet = SET_OPSGROUP:New():FilterActive():FilterCoalition("blue"):FilterOnce()
... logic ...
-GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):FilterOnce()
+GroupSet = SET_OPSGROUP:New():FilterActive(false):FilterCoalition("blue"):FilterOnce()
@@ -62084,7 +62084,7 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -68703,7 +68703,7 @@ If zones overlap, the first zone that validates the test is returned.
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -75256,7 +75256,7 @@ DBObject = SET_PLAYER:New()
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -81776,7 +81776,7 @@ Thus we will get a smooth percentage decrease, if you use this e.g. as success c
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -87335,7 +87335,7 @@ When moose is loading dynamically (for moose class development), tracing is swit
if static:GetName() == "Exclude Me" then isinclude = false end
return isinclude
end
- ):FilterOnce()
+ ):FilterOnce()
BASE:I(groundset:Flush())
@@ -88933,7 +88933,7 @@ DBObject = SET_STATIC:New()
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -94409,13 +94409,13 @@ Include inactive units if you provide false.
UnitSet = SET_UNIT:New():FilterActive():FilterStart()
-- Include only active units to the set of the blue coalition, and filter one time.
-UnitSet = SET_UNIT:New():FilterActive():FilterCoalition( "blue" ):FilterOnce()
+UnitSet = SET_UNIT:New():FilterActive():FilterCoalition("blue"):FilterOnce()
-- Include only active units to the set of the blue coalition, and filter one time.
-- Later, reset to include back inactive units to the set.
-UnitSet = SET_UNIT:New():FilterActive():FilterCoalition( "blue" ):FilterOnce()
+UnitSet = SET_UNIT:New():FilterActive():FilterCoalition("blue"):FilterOnce()
... logic ...
-UnitSet = SET_UNIT:New():FilterActive( false ):FilterCoalition( "blue" ):FilterOnce()
+UnitSet = SET_UNIT:New():FilterActive(false):FilterCoalition("blue"):FilterOnce()
@@ -94607,7 +94607,7 @@ UnitSet = SET_UNIT:New():FilterActive( false ):FilterCoalition( "blue" ):FilterO
if unit:GetName() == "Exclude Me" then isinclude = false end
return isinclude
end
- ):FilterOnce()
+ ):FilterOnce()
BASE:I(groundset:Flush())
@@ -95340,12 +95340,12 @@ to warrant a check of below 10 seconds.
- UnitSet:ForEachUnitPerThreatLevel( 10, 0,
+ UnitSet:ForEachUnitPerThreatLevel(10, 0,
-- @param Wrapper.Unit#UNIT UnitObject The UNIT object in the UnitSet, that will be passed to the local function for evaluation.
- function( UnitObject )
+ function(UnitObject)
.. logic ..
end
- )
+ )
@@ -96749,7 +96749,7 @@ MySetUnit:SetCargoBayWeightLimit()
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -103239,7 +103239,7 @@ DatabaseSet = SET_ZONE:New()
function(zone)
zone:DrawZone(-1, {0,1,0}, Alpha, FillColor, FillAlpha, 4, ReadOnly)
end
- )
+ )
-- This FSM function will be called for entering objects
function zoneset:OnAfterEnteredZone(From,Event,To,Controllable,Zone)
@@ -104045,7 +104045,7 @@ DatabaseSet = SET_ZONE:New()
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
@@ -110530,7 +110530,7 @@ DatabaseSet = SET_ZONE_GOAL:New()
myset:FindNearestObjectFromPointVec2( ZONE:New("Test Zone"):GetCoordinate() )
+ myset:FindNearestObjectFromPointVec2(ZONE:New("Test Zone"):GetCoordinate())
diff --git a/Documentation/Core.Settings.html b/Documentation/Core.Settings.html
index a65a6e4e8..f52236e88 100644
--- a/Documentation/Core.Settings.html
+++ b/Documentation/Core.Settings.html
@@ -3069,7 +3069,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
The AI is on by default when spawning a group.
+we arrived here seeing that self.SpawnInitSADL == nil, but now that we have a SADL (num), we also need to set it to self.SpawnInitSADL in case + we need to get the next SADL from _DATABASE, or else UTILS.OctalToDecimal() will fail in GetNextSADL
+ +The AI is on by default when spawning a group.
+we arrived here seeing that self.SpawnInitSADL == nil, but now that we have a SADL (num), we also need to set it to self.SpawnInitSADL in case + we need to get the next SADL from _DATABASE, or else UTILS.OctalToDecimal() will fail in GetNextSADL
+ +Kickspeed
-Kickspeed
-switch alarm state RED
+switch alarm state RED
+Contains the counter how many units are currently alive.
- -Contains the counter how many units are currently alive.
- -VNAO Edit - Added
+VNAO Edit - Added
VNAO Edit - Added
+VNAO Edit - Added
Data table at each position in the groove. Elements are of type AIRBOSS.GrooveData.
+Set time stamp.
+Set new time stamp.
Band modulation.
+holds #CTLD_ENGINEERING objects
-tables
-Folderpath.
+#1570
-time to repairor build a unit/group
+noob catch
sub categories
-holds #CTLD_ENGINEERING objects
-tables
-Folderpath.
+#1570
-time to repairor build a unit/group
+noob catch
sub categories
- @@ -24807,7 +24751,7 @@ However, if you create a new folder inside the miz file, which contains the sounholds #CTLD_ENGINEERING objects
-tables
-Folderpath.
+#1570
-time to repairor build a unit/group
+noob catch
@@ -25803,9 +25722,6 @@ However, if you create a new folder inside the miz file, which contains the soun - -sub categories
- @@ -30387,17 +30303,6 @@ When moose is loading dynamically (for moose class development), tracing is switCan transport crate.
- - - -Stack by pointer.
+Stack by pointer.
+Coordinate of the mark.
+ + + +Coordinate of the mark.
+Coordinate of the mark.
+