Exposing NewGameStartupInfo to ZScript?

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Exposing NewGameStartupInfo to ZScript?

Postby TheShadsy » Sat Apr 02, 2022 9:33 am

Hello! I've been playing around with ZScript menus, and one thing I've been tinkering with is a custom menu that can launch a new episode. However, the one feature necessary to make this happen that's missing right now is to allow ZScript to manually set the Skill, Episode, and PlayerClass variables used by NewGameStartupInfo. Currently, only the hardcoded menu behaviors in M_SetSpecialMenu can do that.

Could the variables in NewGameStartupInfo be made alterable through ZScript, either directly or through a function? This would allow so much more flexibility with menu design, especially for non-traditional mods/games using the GZDoom engine. Thanks for looking into this!
TheShadsy
 
Joined: 15 Apr 2012

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests