Code:
## Leader Unique DOM Map Specific ##
sLeader = gc.getLeaderHeadInfo(self.player.getLeaderType()).getType()[7:]
sMap = str(gc.getMap().getMapScriptName())
sMap.replace(" ", "_")
if sMap.find(".") > -1:
sMap = sMap[:sMap.find(".")]
sDOM = localText.getText("TXT_DOM_" + sLeader + "_" + str(sMap), ())
if sDOM.find("TXT_") == -1:
bodyString = sDOM
else:
sDOM = localText.getText("TXT_DOM_" + sLeader, ())
if sDOM.find("TXT_") == -1:
bodyString = sDOM
[B][COLOR="Red"]bodyString = sMap[/COLOR][/B]
## Leader Unique DOM Map Specific ##
Use this test version.
Start the scenario, and see what is displayed in the DOM.
That is the name of the map script after truncating off the .whateverWBsave
See if there are any weird characters or not or just take a screenshot.