From 4a4935f1651a1f3905b1f7908cb367eaddbd806c Mon Sep 17 00:00:00 2001 From: RndName Date: Wed, 21 Dec 2022 11:32:37 +0100 Subject: [PATCH] Change iads command unit type --- game/missiongenerator/tgogenerator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/game/missiongenerator/tgogenerator.py b/game/missiongenerator/tgogenerator.py index d624bcbf..acd76174 100644 --- a/game/missiongenerator/tgogenerator.py +++ b/game/missiongenerator/tgogenerator.py @@ -293,13 +293,13 @@ class GroundObjectGenerator: self.m.triggerrules.triggers.append(t) def generate_iads_command_unit(self, unit: SceneryUnit) -> None: - # Creates a static Infantry Unit next to a scenery object. This is needed - # because skynet can not use map objects as Comms, Power or Command and needs a - # "real" unit to function correctly + # Creates a static Unit (tyre with red flag) next to a scenery object. This is + # needed because skynet can not use map objects as Comms, Power or Command and + # needs a "real" unit to function correctly self.m.static_group( country=self.country, name=unit.unit_name, - _type=dcs.vehicles.Infantry.Soldier_M4, + _type=dcs.statics.Fortification.Black_Tyre_RF, position=unit.position, heading=unit.position.heading.degrees, dead=not unit.alive, # Also spawn as dead!