Jump to content

Recommended Posts

Posted

Up until recently, invoking DCS.getMissionName() would return the name of the mission currently running.

Now it ALWAYS returns the same constant 'tempMission'

Simply run this script in any mission

-- say my mission name
  local mn = net.dostring_in("gui", "return DCS.getMissionName()")
  trigger.action.outText("Hi, my mission name is <" .. mn .. ">", 30)
  
  

it now ALWAYS returns "tempMission", which is wrong

image.png

This breaks a lot of functionality, especially for missions that need to know their name (e.g. any mission that wants to use some kind of homegrown persistance).

 

Dear @Flappie, may I enlist your help in directing this to the attention of someone who can help? 

Thank you,

-ch

Oh, I've attached a mission to reproduce the issue, as described above

say my name.miz

Posted

Some more detail: it seems that this bug affects single player, while at least ad-hoc mp seems to work (not exhaustively tested).

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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