Files
REM-Mod/EXE/REM/Lua/LuaMissions.lua
2025-06-10 11:29:20 +00:00

33 lines
2.2 KiB
Lua

-- LuaMissions.lua
-- Script to create and configure missions using the rem.mission feature
-- Create and configure the mission
rem.mission.create("DoubleMission") -- Set mission name
rem.mission.trigger("InitState") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
rem.mission.startbase("Li01_01_Base") -- Set mission startbase
rem.mission.thnconfig("manhattan_gen", "arc_juni") -- Set THN location and name
rem.mission.thntime(58) -- Set THN duration to x seconds
rem.mission.showpopup(458770, 458771) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 458772) -- Show Mission Message after Popup
rem.mission.missionmessage("launch", 458773) -- Show Mission Message after launch
rem.mission.thnsave() -- Save the thn config
rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
rem.mission.startbase("Li01_09_Base") -- Set mission startbase
rem.mission.thnconfig("lismallstation_gen", "arc_juni") -- Set THN location and name
rem.mission.thntime(35) -- Set THN duration to x seconds
rem.mission.showpopup(458770, 458774) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 458775) -- Show Mission Message after Popup
--rem.mission.missionmessage("launch", 458773) -- Show Mission Message after launch
rem.mission.thnsave() -- Save the thn config
rem.mission.save() -- Finalize and save mission to the list
-- Create and configure the mission
rem.mission.create("Blubberbernd") -- Set mission name
rem.mission.trigger("InitState") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
rem.mission.startbase("Li01_01_Base") -- Set mission startbase
rem.mission.thnconfig("manhattan_gen", "arc_juni") -- Set THN location and name
rem.mission.thntime(58) -- Set THN duration to x seconds
rem.mission.showpopup(458770, 458771) -- Set infocard IDs for caption and content
rem.mission.thnsave() -- Save the thn config
rem.mission.save() -- Finalize and save mission to the list