[ADDED] COMMANDER:CanMission(Mission) and CHIEF:CanMission(Mission)

This commit is contained in:
smiki
2026-01-29 21:43:27 +01:00
parent 6e12c5c1d0
commit a699300f5f
2 changed files with 73 additions and 0 deletions
+9
View File
@@ -3358,6 +3358,15 @@ function CHIEF._CheckAssetProperties(Asset, Properties)
return false
end
--- Checks whether or not any of the legions con run a mission.
-- @param #CHIEF self
-- @param Ops.Auftrag#AUFTRAG Mission The mission.
-- @return #boolean If `true`, one of the cohorts can run the mission.
function CHIEF:CanMission(Mission)
return self.commander and self.commander:CanStartMission(Mission)
end
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------