mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2025-08-15 10:37:49 +00:00
Auto commit by GitHub Actions Workflow
This commit is contained in:
@@ -2254,101 +2254,55 @@ If you use units build by multiple templates, they will effectively double on lo
|
||||
<pre><code> my_ctld:AddCratesCargo("FARP",{"FOB"},CTLD_CARGO.Enum.FOB,2)
|
||||
</code></pre>
|
||||
|
||||
<p>Also, you need to have <strong>all statics with the fitting names</strong> as per the script in your mission already, as we're going to copy them, and a template
|
||||
for FARP vehicles, so -- services are goin to work (e.g. for the blue side: an unarmed humvee, two trucks and a fuel truck. Optionally add a fire fighter).</p>
|
||||
<p>The following code will build a FARP at the coordinate the FOB was dropped and built (the UTILS function used below <strong>does not</strong> need a template for the statics):</p>
|
||||
|
||||
<p>The following code will build a FARP at the coordinate the FOB was dropped and built:</p>
|
||||
<pre><code> -- FARP Radio. First one has 130AM name London, next 131 name Dallas, and so forth.
|
||||
local FARPFreq = 129
|
||||
local FARPName = 1 --numbers 1..10
|
||||
|
||||
<pre><code> -- FARP Radio. First one has 130AM, next 131 and for forth
|
||||
local FARPFreq = 130
|
||||
local FARPName = 1 -- numbers 1..10
|
||||
local FARPClearnames = {
|
||||
[1]="London",
|
||||
[2]="Dallas",
|
||||
[3]="Paris",
|
||||
[4]="Moscow",
|
||||
[5]="Berlin",
|
||||
[6]="Rome",
|
||||
[7]="Madrid",
|
||||
[8]="Warsaw",
|
||||
[9]="Dublin",
|
||||
[10]="Perth",
|
||||
}
|
||||
|
||||
local FARPClearnames = {
|
||||
[1]="London",
|
||||
[2]="Dallas",
|
||||
[3]="Paris",
|
||||
[4]="Moscow",
|
||||
[5]="Berlin",
|
||||
[6]="Rome",
|
||||
[7]="Madrid",
|
||||
[8]="Warsaw",
|
||||
[9]="Dublin",
|
||||
[10]="Perth",
|
||||
}
|
||||
function BuildAFARP(Coordinate)
|
||||
local coord = Coordinate --Core.Point#COORDINATE
|
||||
|
||||
function BuildAFARP(Coordinate)
|
||||
local coord = Coordinate -- Core.Point#COORDINATE
|
||||
local FarpNameNumber = ((FARPName-1)%10)+1 -- make sure 11 becomes 1 etc
|
||||
local FName = FARPClearnames[FarpNameNumber] -- get clear namee
|
||||
|
||||
local FarpName = ((FARPName-1)%10)+1
|
||||
local FName = FARPClearnames[FarpName]
|
||||
FARPFreq = FARPFreq + 1
|
||||
FARPName = FARPName + 1
|
||||
|
||||
FARPFreq = FARPFreq + 1
|
||||
FARPName = FARPName + 1
|
||||
FName = FName .. " FAT COW "..tostring(FARPFreq).."AM" -- make name unique
|
||||
|
||||
-- Create a SPAWNSTATIC object from a template static FARP object.
|
||||
local SpawnStaticFarp=SPAWNSTATIC:NewFromStatic("Static Invisible FARP-1", country.id.USA)
|
||||
-- Get a Zone for loading
|
||||
local ZoneSpawn = ZONE_RADIUS:New("FARP "..FName,Coordinate:GetVec2(),150,false)
|
||||
|
||||
-- Spawning FARPs is special in DCS. Therefore, we need to specify that this is a FARP. We also set the callsign and the frequency.
|
||||
SpawnStaticFarp:InitFARP(FARPName, FARPFreq, 0)
|
||||
SpawnStaticFarp:InitDead(false)
|
||||
-- Spawn a FARP with our little helper and fill it up with resources (10t fuel each type, 10 pieces of each known equipment)
|
||||
UTILS.SpawnFARPAndFunctionalStatics(FName,Coordinate,ENUMS.FARPType.INVISIBLE,my_ctld.coalition,country.id.USA,FarpNameNumber,FARPFreq,radio.modulation.AM,nil,nil,nil,10,10)
|
||||
|
||||
-- Spawn FARP
|
||||
local ZoneSpawn = ZONE_RADIUS:New("FARP "..FName,Coordinate:GetVec2(),160,false)
|
||||
local Heading = 0
|
||||
local FarpBerlin=SpawnStaticFarp:SpawnFromZone(ZoneSpawn, Heading, "FARP "..FName)
|
||||
-- add a loadzone to CTLD
|
||||
my_ctld:AddCTLDZone("FARP "..FName,CTLD.CargoZoneType.LOAD,SMOKECOLOR.Blue,true,true)
|
||||
local m = MESSAGE:New(string.format("FARP %s in operation!",FName),15,"CTLD"):ToBlue()
|
||||
end
|
||||
|
||||
-- ATC and services - put them 125m from the center of the zone towards North
|
||||
local FarpVehicles = SPAWN:NewWithAlias("FARP Vehicles Template","FARP "..FName.." Technicals")
|
||||
FarpVehicles:InitHeading(180)
|
||||
local FarpVCoord = coord:Translate(125,0)
|
||||
FarpVehicles:SpawnFromCoordinate(FarpVCoord)
|
||||
|
||||
-- We will put the rest of the statics in a nice circle around the center
|
||||
local base = 330
|
||||
local delta = 30
|
||||
|
||||
local windsock = SPAWNSTATIC:NewFromStatic("Static Windsock-1",country.id.USA)
|
||||
local sockcoord = coord:Translate(125,base)
|
||||
windsock:SpawnFromCoordinate(sockcoord,Heading,"Windsock "..FName)
|
||||
base=base-delta
|
||||
|
||||
local fueldepot = SPAWNSTATIC:NewFromStatic("Static FARP Fuel Depot-1",country.id.USA)
|
||||
local fuelcoord = coord:Translate(125,base)
|
||||
fueldepot:SpawnFromCoordinate(fuelcoord,Heading,"Fueldepot "..FName)
|
||||
base=base-delta
|
||||
|
||||
local ammodepot = SPAWNSTATIC:NewFromStatic("Static FARP Ammo Storage-2-1",country.id.USA)
|
||||
local ammocoord = coord:Translate(125,base)
|
||||
ammodepot:SpawnFromCoordinate(ammocoord,Heading,"Ammodepot "..FName)
|
||||
base=base-delta
|
||||
|
||||
local CommandPost = SPAWNSTATIC:NewFromStatic("Static FARP Command Post-1",country.id.USA)
|
||||
local CommandCoord = coord:Translate(125,base)
|
||||
CommandPost:SpawnFromCoordinate(CommandCoord,Heading,"Command Post "..FName)
|
||||
base=base-delta
|
||||
|
||||
local Tent1 = SPAWNSTATIC:NewFromStatic("Static FARP Tent-11",country.id.USA)
|
||||
local Tent1Coord = coord:Translate(125,base)
|
||||
Tent1:SpawnFromCoordinate(Tent1Coord,Heading,"Command Tent "..FName)
|
||||
base=base-delta
|
||||
|
||||
local Tent2 = SPAWNSTATIC:NewFromStatic("Static FARP Tent-11",country.id.USA)
|
||||
local Tent2Coord = coord:Translate(125,base)
|
||||
Tent2:SpawnFromCoordinate(Tent2Coord,Heading,"Command Tent2 "..FName)
|
||||
|
||||
-- add a loadzone to CTLD
|
||||
my_ctld:AddCTLDZone("FARP "..FName,CTLD.CargoZoneType.LOAD,SMOKECOLOR.Blue,true,true)
|
||||
local m = MESSAGE:New(string.format("FARP %s in operation!",FName),15,"CTLD"):ToBlue()
|
||||
end
|
||||
|
||||
function my_ctld:OnAfterCratesBuild(From,Event,To,Group,Unit,Vehicle)
|
||||
local name = Vehicle:GetName()
|
||||
if string.match(name,"FOB",1,true) then
|
||||
local Coord = Vehicle:GetCoordinate()
|
||||
Vehicle:Destroy(false)
|
||||
BuildAFARP(Coord)
|
||||
end
|
||||
end
|
||||
function my_ctld:OnAfterCratesBuild(From,Event,To,Group,Unit,Vehicle)
|
||||
local name = Vehicle:GetName()
|
||||
if string.find(name,"FOB",1,true) then
|
||||
local Coord = Vehicle:GetCoordinate()
|
||||
Vehicle:Destroy(false)
|
||||
BuildAFARP(Coord)
|
||||
end
|
||||
end
|
||||
</code></pre>
|
||||
|
||||
|
||||
@@ -2451,13 +2405,13 @@ for FARP vehicles, so -- services are goin to work (e.g. for the blue side: an u
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD).AddCratesCargo">CTLD:AddCratesCargo(Name, Templates, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location)</a></p></td>
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD).AddCratesCargo">CTLD:AddCratesCargo(Name, Templates, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location, UnitTypes, TypeName, ShapeName)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>User function - Add <em>generic</em> crate-type loadable as cargo.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD).AddCratesRepair">CTLD:AddCratesRepair(Name, Template, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location)</a></p></td>
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD).AddCratesRepair">CTLD:AddCratesRepair(Name, Template, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location, UnitTypes, TypeName, ShapeName)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>User function - Add <em>generic</em> repair crates loadable as cargo.</p>
|
||||
</td>
|
||||
@@ -5143,6 +5097,12 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD_CARGO).AddStock">CTLD_CARGO:AddStock(Number)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Add Stock.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD_CARGO).AddUnitTypeName">CTLD_CARGO:AddUnitTypeName(UnitTypes)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Add specific unit types to this CARGO (restrict what types can pick this up).</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -5365,6 +5325,12 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD_CARGO).SetStaticResourceMap">CTLD_CARGO:SetStaticResourceMap(ResourceMap)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Add Resource Map information table</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD_CARGO).SetStaticTypeAndShape">CTLD_CARGO:SetStaticTypeAndShape(TypeName, ShapeName)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Add specific static type and shape to this CARGO.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -5377,6 +5343,18 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD_CARGO).SetWasDropped">CTLD_CARGO:SetWasDropped(dropped)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Set WasDropped.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD_CARGO).StaticShape">CTLD_CARGO.StaticShape</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Individual shape if set.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD_CARGO).StaticType">CTLD_CARGO.StaticType</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Individual type if set.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -5395,6 +5373,12 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD_CARGO).Templates">CTLD_CARGO.Templates</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Table of #POSITIONABLE objects.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(CTLD_CARGO).TypeNames">CTLD_CARGO.TypeNames</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Table of unit types able to pick this cargo up.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -8273,9 +8257,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Beacons</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -8360,14 +8341,11 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#table
|
||||
|
||||
<a id="#(CTLD).PilotGroups" ><strong>CTLD.PilotGroups</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> tables</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -8396,11 +8374,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#string
|
||||
|
||||
<a id="#(CTLD).RadioPath" ><strong>CTLD.RadioPath</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Folderpath.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -8912,7 +8893,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
|
||||
|
||||
<p> noob catch</p>
|
||||
<p> time to repairor build a unit/group</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -9370,7 +9351,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<div class="w3-theme-l2">
|
||||
<h2><a id="#(CTLD).AddCratesCargo" ><strong>CTLD:AddCratesCargo(Name, Templates, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location)</strong></a></h2>
|
||||
<h2><a id="#(CTLD).AddCratesCargo" ><strong>CTLD:AddCratesCargo(Name, Templates, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location, UnitTypes, TypeName, ShapeName)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>User function - Add <em>generic</em> crate-type loadable as cargo.</p>
|
||||
@@ -9502,6 +9483,56 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#string
|
||||
<strong><strong>UnitTypes</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Unit type names (optional). If set, only these unit types can pick up the cargo, e.g. "UH-1H" or {"UH-1H","OH-58D"}</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#string
|
||||
<strong><strong>TypeName</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Static type name (optional). If set, spawn cargo crate with an alternate type shape.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#string
|
||||
<strong><strong>ShapeName</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Static shape name (optional). If set, spawn cargo crate with an alternate type sub-shape.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Return value:</strong></h2>
|
||||
<div class="w3-row w3-border-bottom w3-margin-left">
|
||||
<div class="w3-half">
|
||||
<p><a href="##(CTLD)">#CTLD</a>:</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>self</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -9510,7 +9541,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<div class="w3-theme-l2">
|
||||
<h2><a id="#(CTLD).AddCratesRepair" ><strong>CTLD:AddCratesRepair(Name, Template, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location)</strong></a></h2>
|
||||
<h2><a id="#(CTLD).AddCratesRepair" ><strong>CTLD:AddCratesRepair(Name, Template, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location, UnitTypes, TypeName, ShapeName)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>User function - Add <em>generic</em> repair crates loadable as cargo.</p>
|
||||
@@ -9642,6 +9673,56 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#string
|
||||
<strong><strong>UnitTypes</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Unit type names (optional). If set, only these unit types can pick up the cargo, e.g. "UH-1H" or {"UH-1H","OH-58D"}</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#string
|
||||
<strong><strong>TypeName</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Static type name (optional). If set, spawn cargo crate with an alternate type shape.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#string
|
||||
<strong><strong>ShapeName</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Static shape name (optional). If set, spawn cargo crate with an alternate type sub-shape.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Return value:</strong></h2>
|
||||
<div class="w3-row w3-border-bottom w3-margin-left">
|
||||
<div class="w3-half">
|
||||
<p><a href="##(CTLD)">#CTLD</a>:</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>self</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -18794,9 +18875,6 @@ However, if you create a new folder inside the miz file, which contains the soun
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Beacons</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -18881,14 +18959,11 @@ However, if you create a new folder inside the miz file, which contains the soun
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#table
|
||||
|
||||
<a id="#(CTLD).PilotGroups" ><strong>CTLD.PilotGroups</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> tables</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -18917,11 +18992,14 @@ However, if you create a new folder inside the miz file, which contains the soun
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#string
|
||||
|
||||
<a id="#(CTLD).RadioPath" ><strong>CTLD.RadioPath</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Folderpath.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -19433,7 +19511,7 @@ However, if you create a new folder inside the miz file, which contains the soun
|
||||
|
||||
|
||||
|
||||
<p> noob catch</p>
|
||||
<p> time to repairor build a unit/group</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -21228,9 +21306,6 @@ However, if you create a new folder inside the miz file, which contains the soun
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Beacons</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -21315,14 +21390,11 @@ However, if you create a new folder inside the miz file, which contains the soun
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#table
|
||||
|
||||
<a id="#(CTLD).PilotGroups" ><strong>CTLD.PilotGroups</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> tables</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -21351,11 +21423,14 @@ However, if you create a new folder inside the miz file, which contains the soun
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#string
|
||||
|
||||
<a id="#(CTLD).RadioPath" ><strong>CTLD.RadioPath</strong></a>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> Folderpath.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -21867,7 +21942,7 @@ However, if you create a new folder inside the miz file, which contains the soun
|
||||
|
||||
|
||||
|
||||
<p> noob catch</p>
|
||||
<p> time to repairor build a unit/group</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -26342,17 +26417,6 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
|
||||
<p>Can transport crate.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CTLD.UnitTypeCapabilities).length" ><strong>CTLD.UnitTypeCapabilities.length</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -26607,6 +26671,28 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#string
|
||||
<a id="#(CTLD_CARGO).StaticShape" ><strong>CTLD_CARGO.StaticShape</strong></a>
|
||||
|
||||
<p>Individual shape if set.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#string
|
||||
<a id="#(CTLD_CARGO).StaticType" ><strong>CTLD_CARGO.StaticType</strong></a>
|
||||
|
||||
<p>Individual type if set.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
@@ -26640,6 +26726,17 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#list<#string>
|
||||
<a id="#(CTLD_CARGO).TypeNames" ><strong>CTLD_CARGO.TypeNames</strong></a>
|
||||
|
||||
<p>Table of unit types able to pick this cargo up.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="functions w3-container w3-theme-l2">
|
||||
<h2>Function(s)</h2>
|
||||
@@ -26726,6 +26823,50 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<div class="w3-theme-l2">
|
||||
<h2><a id="#(CTLD_CARGO).AddUnitTypeName" ><strong>CTLD_CARGO:AddUnitTypeName(UnitTypes)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Add specific unit types to this CARGO (restrict what types can pick this up).</p>
|
||||
|
||||
<div id= "#Functions##AddUnitTypeName" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
<h2><strong>Defined in:</strong></h2>
|
||||
<div class="w3-margin-left">
|
||||
<p>CTLD_CARGO</p>
|
||||
</div>
|
||||
<h2><strong>Parameter:</strong></h2>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#string
|
||||
<strong><strong>UnitTypes</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Unit type name, can also be a #list<#string> table of unit type names.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Return value:</strong></h2>
|
||||
<div class="w3-row w3-border-bottom w3-margin-left">
|
||||
<div class="w3-half">
|
||||
<p><a href="##(CTLD_CARGO)">#CTLD_CARGO</a>:</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>self</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -27600,6 +27741,59 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<div class="w3-theme-l2">
|
||||
<h2><a id="#(CTLD_CARGO).SetStaticTypeAndShape" ><strong>CTLD_CARGO:SetStaticTypeAndShape(TypeName, ShapeName)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Add specific static type and shape to this CARGO.</p>
|
||||
|
||||
<div id= "#Functions##SetStaticTypeAndShape" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
<h2><strong>Defined in:</strong></h2>
|
||||
<div class="w3-margin-left">
|
||||
<p>CTLD_CARGO</p>
|
||||
</div>
|
||||
<h2><strong>Parameters:</strong></h2>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#string
|
||||
<strong><strong>TypeName</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#string
|
||||
<strong><strong>ShapeName</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Return value:</strong></h2>
|
||||
<div class="w3-row w3-border-bottom w3-margin-left">
|
||||
<div class="w3-half">
|
||||
<p><a href="##(CTLD_CARGO)">#CTLD_CARGO</a>:</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>self</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -27894,6 +28088,28 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#string
|
||||
<a id="#(CTLD_CARGO).StaticShape" ><strong>CTLD_CARGO.StaticShape</strong></a>
|
||||
|
||||
<p>Individual shape if set.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#string
|
||||
<a id="#(CTLD_CARGO).StaticType" ><strong>CTLD_CARGO.StaticType</strong></a>
|
||||
|
||||
<p>Individual type if set.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
@@ -27927,6 +28143,17 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#list<#string>
|
||||
<a id="#(CTLD_CARGO).TypeNames" ><strong>CTLD_CARGO.TypeNames</strong></a>
|
||||
|
||||
<p>Table of unit types able to pick this cargo up.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="functions w3-container w3-theme-l2">
|
||||
<h2>Function(s)</h2>
|
||||
@@ -36326,6 +36553,17 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
|
||||
<p> template for a group of 10 paratroopers</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CTLD_HERCULES).j" ><strong>CTLD_HERCULES.j</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -37652,6 +37890,17 @@ Use either this method to integrate the Hercules **or** the one from the "normal
|
||||
|
||||
<p> template for a group of 10 paratroopers</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#number
|
||||
<a id="#(CTLD_HERCULES).j" ><strong>CTLD_HERCULES.j</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user