deus-ex-randomizer icon indicating copy to clipboard operation
deus-ex-randomizer copied to clipboard

method to detect which version of GMDX

Open Die4Ever opened this issue 1 year ago • 0 comments

need to be able to distinguish between v9, RSD, and v10, especially for the unbirth bingo event

could try to grab it out of here, and then save it to config


function ShowVersionInfo()
{
	local TextWindow version;
	local string gmdxtxt;

	gmdxtxt = "GMDX v9.0.3";

	version = TextWindow(NewChild(Class'TextWindow'));
	version.SetTextMargins(0, 0);
	version.SetWindowAlignments(HALIGN_Right, VALIGN_Bottom);
	version.SetTextColorRGB(255, 255, 255);
	version.SetTextAlignments(HALIGN_Right, VALIGN_Bottom);
	version.SetText(player.GetDeusExVersion() @ gmdxtxt);
}

Die4Ever avatar Aug 28 '22 03:08 Die4Ever