Module Utilities.Templates
Utilities - Templates.
DCS unit templates
Global(s)
Global TEMPLATE |
Templates
Get DCS templates from thin air.
|
#TEMPLATE
TEMPLATE
Templates
Get DCS templates from thin air.
Ground Units
Ground units.
Naval Units
Ships are not implemented yet.
Aircraft
Airplanes
Airplanes are not implemented yet.
Helicopters
Helicopters are not implemented yet.
Type(s)
Fields and Methods inherited from TEMPLATE |
Description |
TEMPLATE.AddWaypoint(Template, Waypoint) |
Add a waypoint.
|
TEMPLATE.ClassName |
Name of the class.
|
TEMPLATE.GenericAircraft |
|
TEMPLATE.GenericGround |
|
TEMPLATE.GenericNaval |
|
TEMPLATE.GetAirplane(TypeName, GroupName, CountryID, Vec3, Nunits, Radius) |
Get template for fixed wing units.
|
TEMPLATE.GetGround(TypeName, GroupName, CountryID, Vec3, Nunits, Radius) |
Get template for ground units.
|
TEMPLATE.GetHelicopter(TypeName, GroupName, CountryID, Vec3, Nunits, Radius) |
Get template for fixed wing units.
|
TEMPLATE.GetNaval(TypeName, GroupName, CountryID, Vec3, Nunits, Radius) |
Get template for ground units.
|
TEMPLATE.SetAirbase(Template, AirBase, ParkingSpots, EngineOn) |
Set the position of the template.
|
TEMPLATE.SetPositionFromVec2(Template, Vec2) |
Set the position of the template.
|
TEMPLATE.SetPositionFromVec3(Template, Vec3) |
Set the position of the template.
|
TEMPLATE.SetUnits(Template, N, Coordinate, Radius) |
Set the position of the template.
|
TEMPLATE.TypeAirplane |
|
TEMPLATE.TypeGround |
|
TEMPLATE.TypeHelicopter |
|
TEMPLATE.TypeNaval |
|
TEMPLATE._GetAircraft(Airplane, TypeName, GroupName, CountryID, Vec3, Nunits, Radius) |
Get template for aircraft units.
|
TEMPLATE class.
Field(s)
Function(s)
Add a waypoint.
Defined in:
Parameters:
The template to be modified.
Get template for fixed wing units.
Defined in:
Parameters:
Type name of the unit(s) in the groups. See TEMPLATE.Ground
.
Name of the spawned group. Must be unique!
Country ID. Default country.id.USA
. Coalition is automatically determined by the one the country belongs to.
Position of the group and the first unit.
Number of units. Default 1.
Spawn radius for additonal units in meters. Default 500 m.
Return value:
Get template for ground units.
Defined in:
Parameters:
Type name of the unit(s) in the groups. See TEMPLATE.Ground
.
Name of the spawned group. Must be unique!
Country ID. Default country.id.USA
. Coalition is automatically determined by the one the country belongs to.
Position of the group and the first unit.
Number of units. Default 1.
Spawn radius for additonal units in meters. Default 50 m.
Return value:
Get template for fixed wing units.
Defined in:
Parameters:
Type name of the unit(s) in the groups. See TEMPLATE.Ground
.
Name of the spawned group. Must be unique!
Country ID. Default country.id.USA
. Coalition is automatically determined by the one the country belongs to.
Position of the group and the first unit.
Number of units. Default 1.
Spawn radius for additonal units in meters. Default 500 m.
Return value:
Get template for ground units.
Defined in:
Parameters:
Type name of the unit(s) in the groups. See TEMPLATE.Ground
.
Name of the spawned group. Must be unique!
Country ID. Default country.id.USA
. Coalition is automatically determined by the one the country belongs to.
Position of the group and the first unit.
Number of units. Default 1.
Spawn radius for additonal units in meters. Default 500 m.
Return value:
Set the position of the template.
Defined in:
Parameters:
The template to be modified.
The airbase where the aircraft are spawned.
List of parking spot IDs. Every unit needs one!
If true, aircraft are spawned hot.
Set the position of the template.
Defined in:
Parameters:
The template to be modified.
2D Position vector with x and y components of the group.
Set the position of the template.
Defined in:
Parameters:
The template to be modified.
Position vector of the group.
Set the position of the template.
Defined in:
Parameters:
The template to be modified.
Total number of units in the group.
Position of the first unit.
Radius in meters to randomly place the additional units.
Get template for aircraft units.
Defined in:
Parameters:
If true, this is a fixed wing. Else, rotary wing.
Type name of the unit(s) in the groups. See TEMPLATE.Ground
.
Name of the spawned group. Must be unique!
Country ID. Default country.id.USA
. Coalition is automatically determined by the one the country belongs to.
Position of the group and the first unit.
Number of units. Default 1.
Spawn radius for additonal units in meters. Default 500 m.
Return value:
Rotary wing unit type names.
Field(s)
Function(s)
Ground unit type names.
Field(s)
Function(s)
Rotary wing unit type names.
Field(s)
Function(s)
Naval unit type names.
Field(s)
Function(s)