[Already In] GetSkillName

Moderator: GZDoom Developers

GetSkillName

Postby Collegia Titanica » Thu Dec 13, 2018 6:58 am

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 ?
Collegia Titanica
 
Joined: 25 Jan 2018
Discord: 2834

Re: GetSkillName

Postby Graf Zahl » Thu Dec 13, 2018 7:44 am

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'
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest