Is there any way to get the current mission name/id?
-
There are certain bits of code that I only want to be applied in certain missions.
So far I've done this only with the prologue in which case I just got the location like this:-
if (World.GetZoneLocalizedName(Game.Player.Character.Position) == "North Yankton")
But obviously that will get a bit more awkward in other missions so I'm wondering is there a way to get what the current active mission is?
-
The only way of tracking this i see would be checking the mission complete stat (check STAT natives, spstatssetup.xml might help with this aswell) and GET_MISSION_FLAG, however i have never tried this myself so i might be totally wrong