uri_ba Posted April 21, 2019 Posted April 21, 2019 As the title suggests, When a "mission end" action is triggered in the mission. When checking the mission in SP, mission ends as expected when running on --norender dedicated server with webUI, mission end triggers, but nothing happens. April 10th OB Creator of Hound ELINT script My pit building blog Few DIY projects on Github: DIY Cougar throttle Standalone USB controller | DIY FCC3 Standalone USB Controller
HiJack Posted April 21, 2019 Posted April 21, 2019 Been like that since the release of the dedicated server.
HiJack Posted April 21, 2019 Posted April 21, 2019 Oh, and a way around it is to set the mission calling itself with "Load mission" or select another mission with "Load mission". If you have 4 missions you can set up a random trigger to select between them by having them in triggers on all missions. A lot of work I know but still a workaround.
uri_ba Posted April 22, 2019 Author Posted April 22, 2019 that's an awkward way to go about it, but it'll do for now. I have a couple of generic training missions running, and I don't really care which of them. so I have an empty mission that all the other missions load instead of "end mission". this mission just sets a flag value at random, and 30 seconds after it's loaded it will load the selected mission. would prefer "end mission" to be fixed. Creator of Hound ELINT script My pit building blog Few DIY projects on Github: DIY Cougar throttle Standalone USB controller | DIY FCC3 Standalone USB Controller
ED Team c0ff Posted April 22, 2019 ED Team Posted April 22, 2019 I've just added a new callback, so to automatically load next mission from the list, one needs to place a something like this into Saved Games/DCS/Scripts/Hooks/loadNextMission.lua: local cb = {} function cb.onNetMissionEnd() net.load_next_mission() end DCS.setUserCallbacks(cb) Dmitry S. Baikov @ Eagle Dynamics LockOn FC2 Soundtrack Remastered out NOW everywhere - https://band.link/LockOnFC2.
HC_Official Posted April 22, 2019 Posted April 22, 2019 thank you kindly No more pre-orders Click here for tutorials for using Virpil Hardware and Software Click here for Virpil Flight equipment dimensions and pictures. .
HiJack Posted April 23, 2019 Posted April 23, 2019 I've just added a new callback, so to automatically load next mission from the list, one needs to place a something like this into Saved Games/DCS/Scripts/Hooks/loadNextMission.lua: local cb = {} function cb.onNetMissionEnd() net.load_next_mission() end DCS.setUserCallbacks(cb) If this works then perfect. Is it possible to read the current mission list and random select also?
ED Team c0ff Posted April 23, 2019 ED Team Posted April 23, 2019 If this works then perfect. Is it possible to read the current mission list and random select also? Will be out in the openbeta in May. There's an API to work with the mission list, I will document it. Dmitry S. Baikov @ Eagle Dynamics LockOn FC2 Soundtrack Remastered out NOW everywhere - https://band.link/LockOnFC2.
uri_ba Posted April 23, 2019 Author Posted April 23, 2019 awesome! thanks! Creator of Hound ELINT script My pit building blog Few DIY projects on Github: DIY Cougar throttle Standalone USB controller | DIY FCC3 Standalone USB Controller
CaptHawk Posted August 8, 2020 Posted August 8, 2020 Any updates on this? [sIGPIC][/sIGPIC] AMP WIZARD "Forest Gumble" "When the air becomes electric....It's like a box of chocolates":captain: Windows 11 Pro 64 bit | Intel Alder Lake i7 12700KF | Asus Prime Z690M Plus D4 | CORSAIR Vengeance LPX 64GB (2 x 32GB) DDR4 3200 | GeForce RTX 4070 Ti Ventus 3x qwG OC | 1x42" Multi Touch Screen and 1x27" 4k widescreen | WinWing Orion2 ViperAce(EX) Joystick, Orion2 NavyAce Throttle, Orion Flight Metal Rudder(w/damper) |
Recommended Posts