spinter Posted September 9, 2013 Posted September 9, 2013 (edited) is possible get the name of the mission with the script? Grazie! Edited September 10, 2013 by spinter ====VIAF==== Spinter 155° "Pantere Nere" TsSimComms My Site aiupgrade.net
spinter Posted September 10, 2013 Author Posted September 10, 2013 Please is possible? ====VIAF==== Spinter 155° "Pantere Nere" TsSimComms My Site aiupgrade.net
ajax Posted September 10, 2013 Posted September 10, 2013 You need to be more specific. There are too many missions out there with scripts to try to guess which one you mean.
RagnarDa Posted September 10, 2013 Posted September 10, 2013 Could there be an extra "the" there in that he means if he could get the name of the current mission via script? If so I don't think that's possible now. DCS AJS37 HACKERMAN There will always be bugs. If everything is a priority nothing is.
Grimes Posted September 11, 2013 Posted September 11, 2013 The only thing you can access related to the mission name is whatever is entered into the "sortie" box under mission briefing. As far as I can tell you can't access the actual file name. To access the sortie entry you can use: local mizName = env.mission.sortie 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
spinter Posted September 11, 2013 Author Posted September 11, 2013 (edited) thanks to all I need to know the name of. miz to save a text file with the same name! I'm working on a partial rescue mission http://forums.eagle.ru/showthread.php?t=109730 env.mission.sortie I do not return any data! and written right? if env.mission then local mizName = env.mission.sortie trigger.action.outText(mizName, 5) end Edited September 11, 2013 by spinter ====VIAF==== Spinter 155° "Pantere Nere" TsSimComms My Site aiupgrade.net
Grimes Posted September 11, 2013 Posted September 11, 2013 Shoulda been a tad clearer. Whatever is in the sortie box is what is accessible. You can put the filename of the mission if you want to, but it defaults to nothing, and you have to enter it manually. 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
spinter Posted September 11, 2013 Author Posted September 11, 2013 ok now I understand! thank you! ====VIAF==== Spinter 155° "Pantere Nere" TsSimComms My Site aiupgrade.net
Recommended Posts