GetSkillName

Moderator: GZDoom Developers

Post Reply
Collegia Titanica
Posts: 83
Joined: Thu Jan 25, 2018 1:37 pm

GetSkillName

Post 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 ?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: GetSkillName

Post 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'
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”