Page 1 of 1

GetSkillName

Posted: Thu Dec 13, 2018 5:58 am
by Collegia Titanica
Currently, GetSkill() gets us the number of the skill, starting from 0.
In the mapinfo definition, there is a Name parameter which shows up ingame as we select the difficulty.

Wouldn't it be nice if we can get that parameter as a string ?

Re: GetSkillName

Posted: Thu Dec 13, 2018 6:44 am
by Graf Zahl
This is already available in ACS, in fact the name was explicitly defined for that. It's just that when this was added, ACS string support was rather poor so it uses the string formatting feature (strparam function) with an argument of 'n:PRINTNAME_SKILL'