mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Added "press key to respawn" message on single-player death
This commit is contained in:
parent
adee5411e1
commit
9d64113241
@ -205,11 +205,15 @@ do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- if TUM.settings.getValue(TUM.settings.id.MULTIPLAYER) then return end
|
-- When the player dies in single-player, remind them that they can respawn
|
||||||
-- When player dies in single-player, fail the mission
|
-- (because no one knows the "respawn" shortcut key in DCS and it's not possible to respawn by
|
||||||
-- if event.id == world.event.S_EVENT_CRASH or event.id == world.event.S_EVENT_EJECTION or event.id == world.event.S_EVENT_PILOT_DEAD then
|
-- changing slots when there's only one)
|
||||||
-- TUM.mission.endMission(TUM.mission.endCause.FAILED)
|
if not TUM.settings.getValue(TUM.settings.id.MULTIPLAYER) then
|
||||||
-- end
|
if event.id == world.event.S_EVENT_CRASH or event.id == world.event.S_EVENT_EJECTION or event.id == world.event.S_EVENT_PILOT_DEAD then
|
||||||
|
-- TUM.mission.endMission(TUM.mission.endCause.FAILED)
|
||||||
|
trigger.action.outText("Your aircraft has been downed.\nPress Right CTRL+Right Shift+Tab (default) to respawn.", 10)
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function TUM.mission.playMissionSummaryRadioMessage(onlyShowIncomplete, delayed)
|
function TUM.mission.playMissionSummaryRadioMessage(onlyShowIncomplete, delayed)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user