Update LuaMissions.lua

This commit is contained in:
D4rkl1ght3r
2025-06-09 11:12:54 +02:00
parent 87df6f9a9e
commit 190e0ab19d

View File

@@ -5,12 +5,26 @@
rem.mission.create("TestMission") -- Set mission name rem.mission.create("TestMission") -- Set mission name
rem.mission.thnconfig("manhattan_gen", "arc_juni") -- Set THN location and 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.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.showpopup(458770, 458771) -- Set infocard IDs for caption and content
rem.mission.save() -- Finalize and save mission to the list rem.mission.save() -- Finalize and save mission to the list
-- Example of an incomplete mission (will trigger error in save) -- Create and configure the first mission
rem.mission.create("") -- Set empty mission name (invalid) rem.mission.create("reunion") -- Set mission name
rem.mission.thnconfig("manhattan_gen", "arc_juni") -- Set THN location and name rem.mission.thnconfig("manhattan_gen", "arc_juni") -- Set THN location and name
rem.mission.thntime(30) -- Set THN duration rem.mission.thntime(58) -- Set THN duration to 58 seconds
rem.mission.showpopup(458763, 458764) -- Set infocard IDs rem.mission.showpopup(458770, 458771) -- Set infocard IDs for caption and content
rem.mission.save() -- Will fail due to empty name 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()