Wrecking Crew Posted January 20, 2016 Posted January 20, 2016 v1.5 Release Mission Editor Load Mission Action, add option to restart In the Mission Editor, for an event with an Action of Load Mission, provide an option to either load a mission by filename (this is the current action) or instead check a box to "Load (restart) Current Mission". PLEASE do this :geek: WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Pikey Posted January 20, 2016 Posted January 20, 2016 If yiou load the same mission is that not the same thing as restarting? Or is this because that crashes? ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
CHSubZero Posted January 20, 2016 Posted January 20, 2016 LShift + R -> Restart mission Aviation Livery - Explore Military Aircraft Liveries My Mods: DCS User Files
Wrecking Crew Posted January 20, 2016 Author Posted January 20, 2016 Guys, this is about a multiplayer mission ending by it's rules and restarting through a triggered event. It applies to a server running missions that need to be restarted once won or lost or timeout. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Wrecking Crew Posted January 20, 2016 Author Posted January 20, 2016 Pikey, When I update a mission the file name changes to indicate the DCS version and the mission version. Because the name changes, any action of Load Mission also must be updated to the new file name. If one forgets to do this then the server will hang up. If there is an optional check box to restart then the event trigger will not need to be updated every time the file name changes. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Pikey Posted January 21, 2016 Posted January 21, 2016 Yeah its broken, however, just checkign the new API it appears the server list has begun to be implemented in the API: net.load_mission(miz_filename) Loads a specified mission, temporarily overriding the server mission list. SERVER ONLY net.load_next_mission() -> bool Load the next mission from the server mission list. Returns false if list end is reached SERVER ONLY Now to get these working read the doc itself in your API folder, and checkout Ciribobs implementation successfully using the API in CSAR script and Xcom now also using slot blockign in BlueFlag, under my post about objectdestroy in the same multiplayer mission builder forum. I don't do LUA though and i'm not even sure if this is that helpful. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
Wrecking Crew Posted September 7, 2020 Author Posted September 7, 2020 Bump. Enhance the Mission Editor for the triggered action 'Load Mission' by providing a checkbox for 'Restart This Mission'. If checked then the File: argument field would be greyed out for this action. This will help the mission designer in that they would not need to change the File: argument each time that the mission name is changed, such as for a revision change. Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Recommended Posts