From 190e0ab19db58b675899736a432191c98aa99d7c Mon Sep 17 00:00:00 2001 From: D4rkl1ght3r <86805404+D4rkl1ght3r@users.noreply.github.com> Date: Mon, 9 Jun 2025 11:12:54 +0200 Subject: [PATCH] Update LuaMissions.lua --- EXE/REM/Lua/LuaMissions.lua | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/EXE/REM/Lua/LuaMissions.lua b/EXE/REM/Lua/LuaMissions.lua index 5799245b..212e615d 100644 --- a/EXE/REM/Lua/LuaMissions.lua +++ b/EXE/REM/Lua/LuaMissions.lua @@ -5,12 +5,26 @@ rem.mission.create("TestMission") -- Set mission name rem.mission.thnconfig("manhattan_gen", "arc_juni") -- Set THN location and name rem.mission.thntime(58) -- Set THN duration to 58 seconds +rem.mission.showpopup(458759, 458760) -- Set infocard IDs for caption and content +rem.mission.save() -- Finalize and save mission to the list + +-- Create and configure the first mission +rem.mission.create("Blubberbernd") -- Set mission name +rem.mission.thnconfig("manhattan_gen", "arc_juni") -- Set THN location and name +rem.mission.thntime(58) -- Set THN duration to 58 seconds rem.mission.showpopup(458770, 458771) -- Set infocard IDs for caption and content rem.mission.save() -- Finalize and save mission to the list --- Example of an incomplete mission (will trigger error in save) -rem.mission.create("") -- Set empty mission name (invalid) +-- Create and configure the first mission +rem.mission.create("reunion") -- Set mission name rem.mission.thnconfig("manhattan_gen", "arc_juni") -- Set THN location and name -rem.mission.thntime(30) -- Set THN duration -rem.mission.showpopup(458763, 458764) -- Set infocard IDs -rem.mission.save() -- Will fail due to empty name \ No newline at end of file +rem.mission.thntime(58) -- Set THN duration to 58 seconds +rem.mission.showpopup(458770, 458771) -- Set infocard IDs for caption and content +rem.mission.save() + +-- Create and configure the first mission +rem.mission.create("duty") -- Set mission name +rem.mission.thnconfig("manhattan_gen", "arc_harrison") -- Set THN location and name +rem.mission.thntime(60) -- Set THN duration to 58 seconds +rem.mission.showpopup(458760, 458761) -- Set infocard IDs for caption and content +rem.mission.save() \ No newline at end of file