Jump to content

Recommended Posts

Posted

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.

Posted

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 ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted (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 by spinter

====VIAF====

Spinter 155° "Pantere Nere"

 

TsSimComms

 

My Site aiupgrade.net

 

 

 

Posted

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.

sortie.jpg.878e49af0dc8895d55396e4d7689b0fe.jpg

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...