Skip to content
8 changes: 4 additions & 4 deletions dcs/mission.py
Original file line number Diff line number Diff line change
Expand Up @@ -1351,11 +1351,11 @@ def awacs_flight(self,
airport(terrain_.Airport): starting airport, use None if you want it to spawn inflight
position(dcs.mapping.Point): reference point for the race-track
race_distance: distance for the race-track pattern
heading: direction from the referene position
heading: direction from the reference position
altitude: of the AWACS race-track
speed: of the AWACS flight
start_type(StartType): of the flight if starts from airport
frequency: VHF-AM frequencey in mhz
frequency: VHF-AM frequency in mhz

Returns:
FlyingGroup: the created AWACS flight group
Expand Down Expand Up @@ -1407,11 +1407,11 @@ def refuel_flight(self,
airport(terrain_.Airport): starting airport, use None if you want it to spawn inflight
position(dcs.mapping.Point): reference point for the race-track
race_distance: distance for the race-track pattern
heading: direction from the referene position
heading: direction from the reference position
altitude: of the refuel race-track
speed: of the refuel flight
start_type(StartType): of the flight if starts from airport
frequency: VHF-AM frequencey in mhz
frequency: VHF-AM frequency in mhz
tacanchannel: if the PlaneType supports tacan this channel will be set.

Returns:
Expand Down
6 changes: 3 additions & 3 deletions dcs/task.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""This module holds all Tasks that are possible to specifiy in dcs.
"""This module holds all Tasks that are possible to specify in dcs.

There are 2 type of tasks, a MainTask and a Task action.
* MainTasks are the flight groups main objective like :py:class:`CAS`, :py:class:`CAP`, :py:class:`SEAD`, ...
Expand Down Expand Up @@ -966,7 +966,7 @@ class EmbarkToTransport(Task):

:param position: :py:class:`dcs.mapping.Point` where to wait to get picked up.
:param zone_radius: radius around the point where the group will embark.
:param concrete_unitid: if specified the group will embark to exaclty this unit.
:param concrete_unitid: if specified the group will embark to exactly this unit.
"""
Id = "EmbarkToTransport"

Expand Down Expand Up @@ -1873,7 +1873,7 @@ class Values(IntEnum):
SpreadFourGroupClose = 458755
WW2_BomberElementClose = 786433
WW2_BomberElementOpen = 786434
# WW2: Bomber Height Seperation has no VariantIndex field.
# WW2: Bomber Height Separation has no VariantIndex field.
WW2_BomberElementHeightSeperation = 851968
WW2_FighterVicClose = 917505
WW2_FighterVicOpen = 917506
Expand Down
2 changes: 1 addition & 1 deletion dcs/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def load_from_dict(self, d):
fog = d.get("fog", {})
self.fog_thickness = fog.get("thickness", 0)
self.fog_visibility = fog.get("visibility", 25)
visibility = d.get("visiblity", {})
visibility = d.get("visibility", {})
self.visibility_distance = visibility.get("distance", 80000)
clouds = d.get("clouds", {})
self.clouds_thickness = clouds.get("thickness", 200)
Expand Down