- added new PRINTNAME_ constants for retrieving next and secret next level.

This commit is contained in:
Christoph Oelckers 2017-01-12 01:11:26 +01:00
parent 85488f2f30
commit 0d575a20cc
1 changed files with 18 additions and 0 deletions

View File

@ -6145,6 +6145,8 @@ enum
PRINTNAME_LEVELNAME = -1,
PRINTNAME_LEVEL = -2,
PRINTNAME_SKILL = -3,
PRINTNAME_NEXTLEVEL = -4,
PRINTNAME_NEXTSECRET = -5,
};
@ -7888,6 +7890,22 @@ scriptwait:
break;
}
case PRINTNAME_NEXTLEVEL:
{
FString uppername = level.NextMap;
uppername.ToUpper();
work += uppername;
break;
}
case PRINTNAME_NEXTSECRET:
{
FString uppername = level.NextSecretMap;
uppername.ToUpper();
work += uppername;
break;
}
case PRINTNAME_SKILL:
work += G_SkillName();
break;