MBot Posted December 9, 2014 Posted December 9, 2014 Reloading a multiplayer mission causes F10 mission commands to no longer work. function ShowA() trigger.action.outText("A", 1) missionCommands.removeItem({"Show A"}) missionCommands.addCommand("Show B", nil, ShowB) end function ShowB() trigger.action.outText("B", 1) missionCommands.removeItem({"Show B"}) missionCommands.addCommand("Show A", nil, ShowA) end ShowA() Reproduction: -Launch attached test mission as a host. The mission includes the script above (generates F10 mission commands). -Enter client aircraft, unpause the mission. -Cycle through text output "A" and "B" using F10 mission commands (works as expected). -Reload the mission using "SELECT MIS." directly from the running mission. -Repeat from step 1: F10 mission commands are no longer working, no text is put out.
Grimes Posted December 10, 2014 Posted December 10, 2014 I'll look into it. Do you know if it does the same thing with trigger based F10 commands? The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Yurgon Posted February 8, 2015 Posted February 8, 2015 Bump. Cost me a perfectly good mission progress in the Guardians of the Caucasus campaign, and probably happens to a lot more people. Any solution in sight?
Recommended Posts