Electros
Member
Hi - posting this here as not sure if there is an issue, or perhaps something up with my implementation.
I'm creating and storing mission info data within ds_maps, and within the BossLoadoutDescription section using \n escape characters.
I'm later using this data on the mission briefing screen, creating text and sprite objects from this info. The issue I'm having is that when I'm rendering the text field which contains the \n escape characters, this renders with the text on newlines using PC (both VM and YYC), however on XBox it does not (and is only moving to the next line due to the value set for the text width).
Is there an issue here with the \n escape character handling on XBox, or perhaps a potential issue with my implementation?
PC
XBox One
I'm creating and storing mission info data within ds_maps, and within the BossLoadoutDescription section using \n escape characters.
Code:
nodeDataMap[? "BossName"] = "Warlord K'thar \"Mega\" Ograrion";
nodeDataMap[? "BossDescription"] = "Warlord K'thar commands a heavily armed and well armoured battlecruiser. Be especially wary of the impact mine launcher; although low damage, it can knock a ship into the path of destruction.";
nodeDataMap[? "BossLoadoutDescription"] = "1. 2x Vulcan cannon. \n 2. 2x Capital laser. \n 3. 1x Impact mine launcher";
nodeDataMap[? "BossIntelPhoto"] = spr_Intel_Shot_Mega;
nodeDataMap[? "BossPortrait"] = spr_Portrait_Enemy_Pilot_Ogron;
Is there an issue here with the \n escape character handling on XBox, or perhaps a potential issue with my implementation?
PC
XBox One