mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2025-08-15 10:37:46 +00:00
BOS-100 fixes
Bug fixes
This commit is contained in:
parent
7641c25056
commit
85200c2964
@ -39,7 +39,7 @@ awacs:SetTACAN(2, "WIZ")
|
|||||||
awacs:__Start(1)
|
awacs:__Start(1)
|
||||||
|
|
||||||
-- Rescue Helo with home base Lake Erie. Has to be a global object!
|
-- Rescue Helo with home base Lake Erie. Has to be a global object!
|
||||||
rescuehelo=RESCUEHELO:New("USS Stennis", "Rescue Helo")
|
local rescuehelo=RESCUEHELO:New("USS Stennis", "Rescue Helo")
|
||||||
rescuehelo:SetHomeBase(AIRBASE:FindByName("Lake Erie"))
|
rescuehelo:SetHomeBase(AIRBASE:FindByName("Lake Erie"))
|
||||||
rescuehelo:SetModex(42)
|
rescuehelo:SetModex(42)
|
||||||
rescuehelo:__Start(1)
|
rescuehelo:__Start(1)
|
||||||
@ -95,7 +95,7 @@ end
|
|||||||
--- Function called when AWACS is started.
|
--- Function called when AWACS is started.
|
||||||
function awacs:OnAfterStart(From,Event,To)
|
function awacs:OnAfterStart(From,Event,To)
|
||||||
-- Set AWACS.
|
-- Set AWACS.
|
||||||
AirbossStennis:SetRecoveryTanker(tanker)
|
AirbossStennis:SetAWACS(awacs)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ function AirbossStennis:OnAfterLSOGrade(From, Event, To, playerData, grade)
|
|||||||
local name=tostring(PlayerData.name)
|
local name=tostring(PlayerData.name)
|
||||||
|
|
||||||
-- Report LSO grade to dcs.log file.
|
-- Report LSO grade to dcs.log file.
|
||||||
env.info(string.format("Player %s scored %.1f", name, score))
|
self:I(string.format("Player %s scored %.1f", name, score))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user