Exposing NewGameStartupInfo to ZScript?

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

Moderator: GZDoom Developers

Posts: 79
Joined: Sun Apr 15, 2012 2:58 pm

Exposing NewGameStartupInfo to ZScript?

Post by TheShadsy »

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!

Return to “Feature Suggestions [GZDoom]”